2020-12-30 19:39:32 -06:00
|
|
|
# /etc/nginx/sites-available/default
|
|
|
|
# Simple proxy_pass for RaSCSI-web
|
|
|
|
server {
|
2021-09-21 03:17:17 +02:00
|
|
|
listen [::]:80 default_server;
|
|
|
|
listen 80 default_server;
|
|
|
|
|
2020-12-30 19:39:32 -06:00
|
|
|
location / {
|
2021-08-24 18:37:54 -05:00
|
|
|
proxy_pass http://127.0.0.1:8080;
|
2020-12-30 19:39:32 -06:00
|
|
|
}
|
|
|
|
|
2021-05-13 12:48:11 -05:00
|
|
|
# Large files
|
2021-05-13 12:41:30 -05:00
|
|
|
client_max_body_size 0;
|
2021-05-13 12:48:11 -05:00
|
|
|
proxy_read_timeout 1000;
|
|
|
|
proxy_connect_timeout 1000;
|
|
|
|
proxy_send_timeout 1000;
|
2021-05-13 12:41:30 -05:00
|
|
|
|
2020-12-30 19:39:32 -06:00
|
|
|
error_page 502 /502.html;
|
|
|
|
location = /502.html {
|
|
|
|
root /var/www/html/;
|
|
|
|
}
|
2021-09-21 03:17:17 +02:00
|
|
|
}
|