|
@@ -9,7 +9,7 @@ server {
|
|
|
server_name v3.adwebcloud.com zhigeng.adwebcloud.com;
|
|
|
|
|
|
# 日志地址
|
|
|
- access_log /var/log/nginx/access.log;
|
|
|
+ access_log /var/log/nginx/access.log;
|
|
|
error_log /var/log/nginx/error.log;
|
|
|
|
|
|
ssl_certificate /root/.acme.sh/v3.adwebcloud.com_ecc/fullchain.cer;
|
|
@@ -29,14 +29,14 @@ server {
|
|
|
proxy_pass http://127.0.0.1:8080;
|
|
|
}
|
|
|
|
|
|
- location /adweb3/websocket/ {
|
|
|
- proxy_pass http://127.0.0.1:8080/adweb3/websocket/;
|
|
|
- proxy_http_version 1.1;
|
|
|
- proxy_set_header Upgrade $http_upgrade;
|
|
|
- proxy_set_header Connection "Upgrade";
|
|
|
- proxy_set_header X-real-ip $remote_addr;
|
|
|
- proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
- }
|
|
|
+ location /adweb3/websocket/ {
|
|
|
+ proxy_pass http://127.0.0.1:8080/adweb3/websocket/;
|
|
|
+ proxy_http_version 1.1;
|
|
|
+ proxy_set_header Upgrade $http_upgrade;
|
|
|
+ proxy_set_header Connection "Upgrade";
|
|
|
+ proxy_set_header X-real-ip $remote_addr;
|
|
|
+ proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -45,7 +45,7 @@ server {
|
|
|
server_name xxl-job.v3.adwebcloud.com;
|
|
|
|
|
|
# 日志地址
|
|
|
- access_log /var/log/nginx/access.log;
|
|
|
+ access_log /var/log/nginx/access.log;
|
|
|
error_log /var/log/nginx/error.log;
|
|
|
|
|
|
location / {
|