Browse Source
handle admin requests without ending slash
pull/474/head
Kirill Krolik
5 years ago
No known key found for this signature in database
GPG Key ID: 54F7FD2198644FB2
1 changed files with
5 additions and
0 deletions
-
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/; |
|
|
|