mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
Merge branch 'master' of github.com:xubiaolin/docker-zerotier-planet
This commit is contained in:
commit
ac3bcb96e3
@ -248,7 +248,7 @@ server {
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http: //zerotier;
|
||||
proxy_pass http://zerotier;
|
||||
proxy_set_header HOST $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -259,7 +259,7 @@ server {
|
||||
server {
|
||||
listen 80;
|
||||
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