|
@@ -2,12 +2,6 @@ location __PATHTOCHANGE__ {
|
|
|
alias __FINALPATH__/;
|
|
alias __FINALPATH__/;
|
|
|
index index.php;
|
|
index index.php;
|
|
|
|
|
|
|
|
- if (!-e $request_filename)
|
|
|
|
|
- {
|
|
|
|
|
- rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last;
|
|
|
|
|
- rewrite ^/.*$ __PATHTOCHANGE__/index.php last;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
if ($scheme = http) {
|
|
if ($scheme = http) {
|
|
|
rewrite ^ https://$server_name$request_uri? permanent;
|
|
rewrite ^ https://$server_name$request_uri? permanent;
|
|
|
}
|
|
}
|