Skip to content

Commit

Permalink
Make admin trailing slash optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadain committed Oct 29, 2024
1 parent beaa4d0 commit bd5b3d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ server {
proxy_pass http://127.0.0.1:8000;
}

location ^~ /admin/ {
location ^~ /admin/? {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_redirect off;
Expand Down

0 comments on commit bd5b3d4

Please sign in to comment.