2020-12-31 01:39:32 +00:00
|
|
|
# /etc/nginx/sites-available/default
|
|
|
|
# Simple proxy_pass for RaSCSI-web
|
|
|
|
server {
|
2021-09-21 01:17:17 +00:00
|
|
|
listen [::]:80 default_server;
|
|
|
|
listen 80 default_server;
|
|
|
|
|
2020-12-31 01:39:32 +00:00
|
|
|
location / {
|
2021-08-24 23:37:54 +00:00
|
|
|
proxy_pass http://127.0.0.1:8080;
|
2020-12-31 01:39:32 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2020-12-31 01:39:32 +00:00
|
|
|
error_page 502 /502.html;
|
|
|
|
location = /502.html {
|
|
|
|
root /var/www/html/;
|
|
|
|
}
|
2021-09-21 01:17:17 +00:00
|
|
|
}
|