mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
parent
7222fe9c8e
commit
7abd0c4e0c
@ -247,7 +247,7 @@ server {
|
|||||||
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http: //zerotier;
|
proxy_pass http://zerotier;
|
||||||
proxy_set_header HOST $host;
|
proxy_set_header HOST $host;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@ -258,7 +258,7 @@ server {
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name {CUSTOME_DOMAIN}; //替换自己的域名
|
server_name {CUSTOME_DOMAIN}; //替换自己的域名
|
||||||
return 301 https: //$server_name$request_uri;
|
return 301 https://$server_name$request_uri;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user