찾다

 >  Q&A  >  본문

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_lee2855일 전604

모든 응답(3)나는 대답할 것이다

  • 黄舟

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

    404를 못 봤어요

    회신하다
    0
  • 阿神

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

    네, 요청주소가 http였는데 https로 바뀌었나요?

    회신하다
    0
  • PHP中文网

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

    https에 문제가 있는 걸까요?

    회신하다
    0
  • 취소회신하다