mpeltriaux
dce9e1fc71
* increases nginx max POST body size to 25MB (document upload) * limits package requests on version 2.32 due to dependency of kombu to this version
22 lines
360 B
Nginx Configuration File
22 lines
360 B
Nginx Configuration File
upstream konova {
|
|
server localhost:8000;
|
|
}
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
client_max_body_size 25M;
|
|
|
|
location / {
|
|
proxy_pass http://konova;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header Host $host;
|
|
proxy_redirect off;
|
|
}
|
|
|
|
location /static/ {
|
|
alias /konova/static/;
|
|
}
|
|
|
|
}
|