diff --git a/conf/nginx.conf b/conf/nginx.conf index 7aaa33a..f0e1150 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,7 +5,7 @@ location PATHTOCHANGE { rewrite ^ https://$server_name$request_uri? permanent; } - rewrite ^ http://DOMAINNAMEPATHTOCHANGE/admin/ redirect; + rewrite ^/(.*)$ http://DOMAINNAMEPATHTOCHANGE/admin/$1 redirect; index index.php index.html index.htm; default_type text/html;