search

Home  >  Q&A  >  body text

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

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;
                }
        }

~               

有人知道这是为何么..

ringa_leeringa_lee2780 days ago570

reply all(3)I'll reply

  • 黄舟

    黄舟2017-04-17 15:00:14

    Didn’t see the 404

    reply
    0
  • 阿神

    阿神2017-04-17 15:00:14

    Yes, the request address was http and then changed to https?

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:00:14

    Is it a problem with https?

    reply
    0
  • Cancelreply