问题描述
我要跑步
3000 上的节点应用
3005 上的节点应用
5000 上的 python 服务
当我使用 python 服务运行一个节点应用程序时,一切正常。
当我运行 2 个节点应用程序和 1python 服务时,仅 3000 上的一个节点应用程序就无法使用 3005 的一个节点应用程序
server {
server_name brightlystake.com www.brightlystake.com;
location /marlin/{
proxy_pass http://localhost:3005;
proxy_http_version 1.1;
proxy_ssl_session_reuse off;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_cache_bypass $http_upgrade;
}
location /{
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /api{
proxy_pass http://localhost:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/brightlystake.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/brightlystake.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-Nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = www.brightlystake.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = brightlystake.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80 default_server;
listen [::]:80 default_server;
server_name brightlystake.com www.brightlystake.com;
return 404; # managed by Certbot
}
https://brightlystake.com/marlin/analytics/0x1a188fc516fa046f5f36bcbc7080946800391873
这是我点击的网址,我希望它的行为类似于下面的网址
https://17thsep.net/marlin/analytics/0x1a188fc516fa046f5f36bcbc7080946800391873
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)