feature:add resolver && teamcity config

This commit is contained in:
tradewind authored and wswan committed 2022-11-22 16:55:06 +08:00
1 parent 7c800a4689
commit fdda02242d
11 files changed
+54 -28

No files matched your search

+3 -5
View File
@@ -2,14 +2,12 @@ server {
server_name emby.tradewind.vip;
location / {
add_header Cache-Control no-cache;
add_header Pragma no-cache;
add_header Expires 0;
resolver 223.5.5.5;
set $router "router.tradewind.vip";
proxy_set_header Host $host;
# proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://router.tradewind.vip:8096/;
proxy_pass http://$router:8096;
}
listen 443 ssl; # managed by Certbot