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