oneuptime
oneuptime copied to clipboard
How to proxy
Hi,
Can you please let us know how to proxy a status page with for instance nginx? I don't mean to proxy on the same server or within the app, I mean from another nginx instance.
Usually it can be done with:
location / {
proxy_set_header Host oneuptimehost;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_redirect off;
proxy_pass http://oneuptimehost/status-page/(thestatuspageid);
}
However, with Oneuptime it fails to work with errors of loading resources, etc.
Your help us much appreciated.
#1755 you might want to look here as well