# Shared proxy-pass shape for the webui upstream. Included from every # location in webui.conf that forwards to the Go app so we don't have to # restate the header block when nested locations declare their own # proxy_* directives (which suppresses inheritance from the outer block). proxy_pass http://127.0.0.1:8080; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_redirect off;