Merge branch 'master' of github.com:xubiaolin/docker-zerotier-planet

This commit is contained in:
xubiaolin 2023-09-09 15:15:46 +08:00
commit ac3bcb96e3

View File

@ -248,7 +248,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;
@ -259,7 +259,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;
} }
``` ```