Update nginx.conf

pull/3/head
abeudin 11 years ago
parent 4c90f885c3
commit 8467a5d48f

@ -3,6 +3,9 @@ location PATHTOCHANGE {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
if ($request_uri !~ index.php/$) {
rewrite ^/PATHTOCHANGE/(.*)$ https://$server_name/PATHTOCHANGE/index.php/$1 permanent;
}
index index.php;
try_files $uri $uri/ /index.php?$args;
location ~ [^/]\.php(/|$) {

Loading…
Cancel
Save