diff --git a/conf/nginx.conf b/conf/nginx.conf index eaba1c0..d7a9460 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ location PATHTOCHANGE { alias ALIASTOCHANGE; - rewrite / /admin permanent; + rewrite ^ http://$server_name/admin permanent; index index.php; try_files $uri $uri/ /index.php?$args;