# Shared proxy-pass shape for the webui upstream. Nested locations that # declare their own proxy_* directives don't inherit from the outer block, # so each location includes this file rather than relying on inheritance. proxy_pass http://127.0.0.1:10000; 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;