add gitea.
This commit is contained in:
parent
ea553cfc3e
commit
a1bbf35a4b
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user