How to proxy #642

Open
opened 2026-04-05 16:21:39 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @thenitai on 11/6/2024

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.

*Originally created by @thenitai on 11/6/2024* 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.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#642