add gitea.

This commit is contained in:
amass 2024-06-19 16:00:54 +00:00
parent ea553cfc3e
commit a1bbf35a4b

View File

@ -36,10 +36,6 @@ http {
server 127.0.0.1:8082; server 127.0.0.1:8082;
} }
upstream gitea {
server 127.0.0.1:8083;
}
upstream frp_http_proxy { upstream frp_http_proxy {
server 127.0.0.1:8084; server 127.0.0.1:8084;
} }
@ -321,7 +317,8 @@ http {
location / { location / {
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://gitea; proxy_set_header Host $http_host;
proxy_pass http://frp_http_proxy;
} }
} }