Update nginx.conf
This commit is contained in:
parent
8467a5d48f
commit
c2c3cd0b1e
@ -4,7 +4,7 @@ location PATHTOCHANGE {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
if ($request_uri !~ index.php/$) {
|
||||
rewrite ^/PATHTOCHANGE/(.*)$ https://$server_name/PATHTOCHANGE/index.php/$1 permanent;
|
||||
rewrite ^PATHTOCHANGE/(.*)$ https://$server_namePATHTOCHANGE/index.php/$1 permanent;
|
||||
}
|
||||
index index.php;
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
|
Loading…
x
Reference in New Issue
Block a user