# Example: serve the dashboard at https:///clock/ # The page uses relative URLs, so any sub-path works. location /clock/ { proxy_pass http://yttrium.mfamily.org:8473/; # or 127.0.0.1:8473 if nginx runs on yttrium proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; # Server-Sent Events: no buffering, long-lived connection proxy_set_header Connection ""; proxy_buffering off; proxy_cache off; proxy_read_timeout 1h; }