CDN must use ip addr
This commit is contained in:
1 parent
761b94dd71
commit
1ed82910a6
5 files changed
+5
-5
No files matched your search
+1
-1
@@ -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;
|
||||||
|
|||||||
+1
-1
@@ -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;
|
||||||
|
|||||||
+1
-1
@@ -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;
|
||||||
|
|||||||
+1
-1
@@ -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;
|
||||||
|
|||||||
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user