snikket_ynh/conf/nginx.share.conf

15 lines
451 B
Text
Raw Normal View History

root /var/www/snikket/snikket_web;
location / {
return 301 https://__DOMAIN__/;
}
location /upload/ {
client_max_body_size 104857616; # 100MB + 16 bytes (see Prosody config)
proxy_request_buffering off;
proxy_http_version 1.1;
proxy_pass http://localhost:__PORT_HTTP__;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}