node.js - 一个nodejs个人博客,用了nginx代理之后所有图片404是为什么

【字号: 日期:2022-10-06浏览:24作者:雯心

问题描述

https://www.10000h.top/

如上

为了测试,现在配置已经相当简单:

upstream nodejs {server 127.0.0.1:8090; }server {listen 443 ssl;server_name www.10000h.top;ssl_certificate /etc/nginx/conf.d/ssl/1_www.10000h.top_bundle.crt;ssl_certificate_key /etc/nginx/conf.d/ssl/onlythen2.key;ssl_session_timeout 5m;location / {proxy_pass http://nodejs;}}~

有人知道这是为何么..

问题解答

回答1:

没看到404啊

回答2:

是 请求地址是http 然后变成了https了吗?

回答3:

https的问题吧?

相关文章: