CDN must use ip addr

This commit is contained in:
2025-12-03 15:42:22 +08:00
parent 761b94dd71
commit 1ed82910a6
5 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ server {
server_name chat.gogongxt.com; server_name chat.gogongxt.com;
location / { location / {
client_max_body_size 512M; client_max_body_size 512M;
proxy_pass http://chat.gogongxt.com:61011; proxy_pass http://127.0.0.1:61011;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host; proxy_set_header Host $host;

View File

@@ -3,7 +3,7 @@ server {
server_name code.gogongxt.com; server_name code.gogongxt.com;
location / { location / {
client_max_body_size 512M; client_max_body_size 512M;
proxy_pass http://code.gogongxt.com:61041; proxy_pass http://127.0.0.1:61041;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host; proxy_set_header Host $host;

View File

@@ -3,7 +3,7 @@ server {
server_name git.gogongxt.com; server_name git.gogongxt.com;
location / { location / {
client_max_body_size 512M; client_max_body_size 512M;
proxy_pass http://git.gogongxt.com:61001; proxy_pass http://127.0.0.1:61001;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host; proxy_set_header Host $host;

View File

@@ -3,7 +3,7 @@ server {
server_name images.gogongxt.com; server_name images.gogongxt.com;
location / { location / {
client_max_body_size 512M; client_max_body_size 512M;
proxy_pass http://images.gogongxt.com:61021; proxy_pass http://127.0.0.1:61021;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host; proxy_set_header Host $host;

View File

@@ -3,7 +3,7 @@ server {
server_name nas.gogongxt.com; server_name nas.gogongxt.com;
location / { location / {
client_max_body_size 512M; client_max_body_size 512M;
proxy_pass http://nas.gogongxt.com:60002; proxy_pass http://127.0.0.1:60002;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host; proxy_set_header Host $host;