-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi,
first of all: Thanks for this project! I am using a fork of MeisterGig for my RPi3.
I got an nginx reverse proxy on the same machine for multiple ssl domains on that host.
When I access example.com the request is proxied to localhost:84 which is bound to checkmk-docker:5000
The problem is that in the container the request gets rewritten to 0.0.0.0:5000 which is not accessable on the proxy host and of course even not from the machine I am requesting from. The adress is changing in the browser of my device.
This is my config (certbot striped out)
server {
server_name example.com;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
location / {
proxy_pass http://localhost:84/;
}
location /websocket {;
proxy_pass http://localhost:84/websocket;
}
}
Are there any known configurations or fixes for that. Think it's a common use case...
Should be related to #6
Regards!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels