add a specific exemption for the admin panel

This commit is contained in:
stupidcomputer 2024-06-29 18:33:30 -05:00
parent f578e219c5
commit e8e83fc5d4
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,14 @@ server {
client_max_body_size 100M;
}
location /admin/ {
proxy_pass http://franklincce;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
client_max_body_size 100M;
}
location /static/ {
alias /home/app/web/staticfiles/;
}