this post was submitted on 27 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 1 year ago
MODERATORS
 

I just installed Uptime Kuma in a Docker container on the same host and custom bridge network as my NPM container. I can reach it if I navigate directly to host ip:port, but not if I go through the reverse proxy. I saw the note about special configuration in order to reach it behind a reverse proxy, but I don't think I'm doing it correctly.

I added the following configuration to the Advanced tab of the Uptime Kuma proxy host. uptimekuma.mydomain.com exists in my local DNS and points to my NPM, just like everything else that I have pointing at it. Any ideas what I'm doing wrong?

server {

listen 80;

server_name uptimekuma.``mydomain``.com``;

location / {

proxy_pass http://localhost:3001;

proxy_http_version 1.1;

proxy_set_header Upgrade $http_upgrade;

proxy_set_header Connection "upgrade";

proxy_set_header Host $host;

}

}

you are viewing a single comment's thread
view the rest of the comments
[–] CincyTriGuy@alien.top 1 points 11 months ago

The formatting didn't come through correctly in my post, but I have it formatted exactly per the instructions on this page. The only change I made was the server_name field