# /etc/nginx/sites-available/default
# Simple proxy_pass for RaSCSI-web
server {
    location / {
        proxy_pass http://localhost:8080;
    }

    # Large files
    client_max_body_size 0;
    proxy_read_timeout 1000;
    proxy_connect_timeout 1000;
    proxy_send_timeout 1000;

    error_page 502 /502.html;
    location = /502.html {
        root  /var/www/html/;
    }
}