diff --git a/gitea/git.noobtoroot.xyz b/gitea/git.noobtoroot.xyz index 08ca50e..8db17ae 100644 --- a/gitea/git.noobtoroot.xyz +++ b/gitea/git.noobtoroot.xyz @@ -4,5 +4,9 @@ server { location / { proxy_pass http://127.0.0.1:3000; + proxy_set_header Host $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; } }