Browse Source

handle admin requests without ending slash

pull/474/head
Kirill Krolik 5 years ago
parent
commit
2bea226e2b
No known key found for this signature in database GPG Key ID: 54F7FD2198644FB2
1 changed files with 5 additions and 0 deletions
  1. 5
      nginx/nginx.conf

5
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/;

Loading…
Cancel
Save