Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to proxy #1744

Open
thenitai opened this issue Nov 6, 2024 · 1 comment
Open

How to proxy #1744

thenitai opened this issue Nov 6, 2024 · 1 comment

Comments

@thenitai
Copy link

thenitai commented Nov 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.

@torstenhoegel
Copy link

#1755 you might want to look here as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants