oneuptime icon indicating copy to clipboard operation
oneuptime copied to clipboard

How to proxy

Open thenitai opened this issue 1 year ago • 1 comments

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.

thenitai avatar Nov 06 '24 19:11 thenitai

#1755 you might want to look here as well

torstenhoegel avatar Dec 14 '24 19:12 torstenhoegel