# Nginx example config for stackbin application # Needs setsebool -P http_can_network_connect 1 location /stackbin/ { #proxy_redirect off; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Script-Name /stackbin; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Prefix "/stackbin"; proxy_pass http://localhost:4680/; }