making it functional when you have a minimal host

This commit is contained in:
Muhammed Hussein Karimi
2022-04-04 06:16:59 +04:30
parent c25b4cf9c8
commit 2e7231edd1
5 changed files with 37 additions and 7 deletions

View File

@@ -77,7 +77,7 @@ http {
# location ~ (?<no_slash>.+)/$ {
# return 302 https://$host$no_slash;
# }
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://uptime-kuma:3001/;
proxy_http_version 1.1;