diff --git a/nginx/nginx.conf b/nginx/nginx.conf index ee9fbc6a..884368dc 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -24,6 +24,11 @@ server { proxy_redirect off; } + location = /admin { + absolute_redirect off; + return 301 /admin/; + } + location /static/ { autoindex on; alias /static/;