RASCSI/python/web/service-infra/nginx-default.conf

22 lines
445 B
Plaintext
Raw Normal View History

# /etc/nginx/sites-available/default
# Simple proxy_pass for RaSCSI-web
server {
listen [::]:80 default_server;
listen 80 default_server;
location / {
proxy_pass http://127.0.0.1:8080;
}
2021-05-13 17:48:11 +00:00
# Large files
2021-05-13 17:41:30 +00:00
client_max_body_size 0;
2021-05-13 17:48:11 +00:00
proxy_read_timeout 1000;
proxy_connect_timeout 1000;
proxy_send_timeout 1000;
2021-05-13 17:41:30 +00:00
error_page 502 /502.html;
location = /502.html {
root /var/www/html/;
}
}