From 3378813d96b93c786108a132792f6d613ea00017 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 Jan 2023 23:36:26 +0800 Subject: [PATCH] up --- nginx/arm.stpl | 2 +- nginx/cloudreve.stpl | 4 ++-- nginx/dns.stpl | 6 +++--- nginx/filerun.stpl | 4 ++-- nginx/gitea.stpl | 4 ++-- nginx/gitlab.stpl | 4 ++-- nginx/jiji.stpl | 2 +- nginx/mail.stpl | 2 +- nginx/matrix.stpl | 4 ++-- nginx/misskey.stpl | 2 +- nginx/tz.stpl | 6 +++--- 11 files changed, 20 insertions(+), 20 deletions(-) diff --git a/nginx/arm.stpl b/nginx/arm.stpl index 63e2ba7..648cb7b 100644 --- a/nginx/arm.stpl +++ b/nginx/arm.stpl @@ -5,7 +5,7 @@ #=========================================================================# upstream portainer { - server 127.0.1.1:9090; + server 127.0.0.1:9090; } map $http_upgrade $connection_upgrade { diff --git a/nginx/cloudreve.stpl b/nginx/cloudreve.stpl index 548bfe6..561acc8 100644 --- a/nginx/cloudreve.stpl +++ b/nginx/cloudreve.stpl @@ -17,7 +17,7 @@ server { include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*; location / { - proxy_pass http://127.0.1.1:5212; + proxy_pass http://127.0.0.1:5212; location ~* ^.+\.(%proxy_extentions%)$ { # root %sdocroot%; access_log /var/log/%web_system%/domains/%domain%.log combined; @@ -32,7 +32,7 @@ server { } location @fallback { - proxy_pass http://127.0.1.1:5212; + proxy_pass http://127.0.0.1:5212; } location ~ /\.ht {return 404;} diff --git a/nginx/dns.stpl b/nginx/dns.stpl index f8687eb..3c0672d 100644 --- a/nginx/dns.stpl +++ b/nginx/dns.stpl @@ -16,7 +16,7 @@ server { include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*; location / { - proxy_pass http://127.0.1.1:8989; + proxy_pass http://127.0.0.1:8989; location ~* ^.+\.(%proxy_extensions%)$ { # root %sdocroot%; access_log /var/log/%web_system%/domains/%domain%.log combined; @@ -36,7 +36,7 @@ server { proxy_set_header Connection ""; proxy_buffers 32 4k; - proxy_pass http://127.0.1.1:8988/; + proxy_pass http://127.0.0.1:8988/; } location /error/ { @@ -44,7 +44,7 @@ server { } location @fallback { - proxy_pass http://127.0.1.1:8989; + proxy_pass http://127.0.0.1:8989; } location ~ /\.(?!well-known\/|file) { diff --git a/nginx/filerun.stpl b/nginx/filerun.stpl index 29906e0..648c034 100644 --- a/nginx/filerun.stpl +++ b/nginx/filerun.stpl @@ -17,7 +17,7 @@ server { include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*; location / { - proxy_pass http://127.0.1.1:8030; + proxy_pass http://127.0.0.1:8030; location ~* ^.+\.(%proxy_extentions%)$ { # root %sdocroot%; access_log /var/log/%web_system%/domains/%domain%.log combined; @@ -32,7 +32,7 @@ server { } location @fallback { - proxy_pass http://127.0.1.1:8030; + proxy_pass http://127.0.0.1:8030; } location ~ /\.ht {return 404;} diff --git a/nginx/gitea.stpl b/nginx/gitea.stpl index 6f994fe..fed5a40 100644 --- a/nginx/gitea.stpl +++ b/nginx/gitea.stpl @@ -17,7 +17,7 @@ server { include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*; location / { - proxy_pass http://127.0.1.1:5320; + proxy_pass http://127.0.0.1:5320; location ~* ^.+\.(%proxy_extentions%)$ { # root %sdocroot%; access_log /var/log/%web_system%/domains/%domain%.log combined; @@ -32,7 +32,7 @@ server { } location @fallback { - proxy_pass http://127.0.1.1:5320; + proxy_pass http://127.0.0.1:5320; } location ~ /\.ht {return 404;} diff --git a/nginx/gitlab.stpl b/nginx/gitlab.stpl index 6e4bbaa..84af78a 100644 --- a/nginx/gitlab.stpl +++ b/nginx/gitlab.stpl @@ -17,7 +17,7 @@ server { include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*; location / { - proxy_pass https://127.0.1.1:19443; + proxy_pass https://127.0.0.1:19443; location ~* ^.+\.(%proxy_extentions%)$ { # root %sdocroot%; access_log /var/log/%web_system%/domains/%domain%.log combined; @@ -32,7 +32,7 @@ server { } location @fallback { - proxy_pass https://127.0.1.1:19443; + proxy_pass https://127.0.0.1:19443; } location ~ /\.ht {return 404;} diff --git a/nginx/jiji.stpl b/nginx/jiji.stpl index 17464cb..a5791fa 100644 --- a/nginx/jiji.stpl +++ b/nginx/jiji.stpl @@ -22,7 +22,7 @@ server { client_max_body_size 80m; location / { - proxy_pass http://127.0.1.1:3003; + proxy_pass http://127.0.0.1:3003; proxy_set_header Host $host; proxy_http_version 1.1; proxy_redirect off; diff --git a/nginx/mail.stpl b/nginx/mail.stpl index a1096db..d72568e 100644 --- a/nginx/mail.stpl +++ b/nginx/mail.stpl @@ -16,7 +16,7 @@ server { include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*; location / { - proxy_pass https://127.0.1.1:8020; + proxy_pass https://127.0.0.1:8020; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; diff --git a/nginx/matrix.stpl b/nginx/matrix.stpl index 9d83576..dfa03ec 100644 --- a/nginx/matrix.stpl +++ b/nginx/matrix.stpl @@ -30,13 +30,13 @@ server { add_header Access-Control-Allow-Origin *; } location ~* ^(\/_matrix|\/_synapse) { - proxy_pass http://127.0.1.1:8008; + proxy_pass http://127.0.0.1:8008; proxy_set_header X-Forwarded-For $remote_addr; # Nginx by default only allows file uploads up to 1M in size # Increase client_max_body_size to match max_upload_size defined in homeserver.yaml } location /admin/ { - proxy_pass http://127.0.1.1:8100/; + proxy_pass http://127.0.0.1:8100/; proxy_set_header X-Forwarded-For $remote_addr; } diff --git a/nginx/misskey.stpl b/nginx/misskey.stpl index 39c4fad..0b4e968 100644 --- a/nginx/misskey.stpl +++ b/nginx/misskey.stpl @@ -22,7 +22,7 @@ server { client_max_body_size 80m; location / { - proxy_pass http://127.0.1.1:3000; + proxy_pass http://127.0.0.1:3000; proxy_set_header Host $host; proxy_http_version 1.1; proxy_redirect off; diff --git a/nginx/tz.stpl b/nginx/tz.stpl index a587c0e..dc7a090 100644 --- a/nginx/tz.stpl +++ b/nginx/tz.stpl @@ -17,7 +17,7 @@ server { include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*; location / { - proxy_pass http://127.0.1.1:9010; + proxy_pass http://127.0.0.1:9010; location ~* ^.+\.(%proxy_extentions%)$ { # root %sdocroot%; access_log /var/log/%web_system%/domains/%domain%.log combined; @@ -27,7 +27,7 @@ server { } } location ~ ^/(ws|terminal/.+)$ { - proxy_pass http://127.0.1.1:9010; + proxy_pass http://127.0.0.1:9010; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; @@ -38,7 +38,7 @@ server { } location @fallback { - proxy_pass http://127.0.1.1:9010; + proxy_pass http://127.0.0.1:9010; } location ~ /\.ht {return 404;}