forked from linux/WebHosting
put client_max_body_size also in location block
This commit is contained in:
@@ -16,12 +16,12 @@ server {
|
||||
ssl_certificate_key /etc/nginx/private/opticswiki.psi.ch.key;
|
||||
|
||||
location / {
|
||||
client_max_body_size 20M;
|
||||
proxy_pass http://opticswiki:80;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# UF add
|
||||
proxy_set_header Cookie $http_cookie;
|
||||
proxy_set_header Authorization $http_authorization;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user