add a specific exemption for the admin panel
This commit is contained in:
parent
f578e219c5
commit
e8e83fc5d4
|
@ -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/;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue