跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • nginx 4567怎么反带到80啊。安装nodebb
未分類
11 4 月 2020

nginx 4567怎么反带到80啊。安装nodebb

一个盒子 大佬有话说 :

nginx 4567怎么反带到80啊。安装nodebb

访问报错502
centos 7.5 64位   oneinstack 一键安装包。另外一个网站没有问题。
183.225.239.65 – – "GET / HTTP/2.0" 502 552 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 Edg/80.0.361.111"
122.152.197.73 – – "GET / HTTP/1.1" 502 150 "-" "DNSPod-Monitor/2.0"
183.225.239.65 – – "GET / HTTP/2.0" 502 552 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 Edg/80.0.361.111"

# ./nodebb log

Hit Ctrl-C to exit

This will result in much longer template build times.
prebuilt module failed to load: linux_79
If the above module is not available at `node_modules/benchpressjs/rust/benchpress-rs/pre-built/`,
you can manually build benchpress-rs following the instructions here:
`https://github.com/benchpressjs/benchpressjs/blob/master/README.md#manually-building-native-module`
2020-04-11T10:24:07.497Z – info: Restricting access to origin: http://localhost:*
2020-04-11T10:24:08.114Z – info: Routes added
2020-04-11T10:24:08.172Z – info: NodeBB Ready
2020-04-11T10:24:08.174Z – info: Enabling ‘trust proxy’
2020-04-11T10:24:08.176Z – info: NodeBB is now listening on: 0.0.0.0:4567

一个盒子 大佬有话说 :

include /usr/local/nginx/conf/rewrite/none.conf;
#error_page 404 /404.html;
#error_page 502 /502.html;
location ~ .*.(wma|wmv|asf|mp3|mmf|zip|rar|jpg|gif|png|swf|flv|mp4)$ {
    valid_referers none blocked *.abcpython.com www.abcpython.com abcpython.com;
    if ($invalid_referer) {
      return 403;
    }
}
    location / {

      proxy_pass https://abcpython.com:4567;
      

         }
location ~ [^/].php(/|$) {
    #fastcgi_pass remote_php_ip:9000;
    fastcgi_pass unix:/dev/shm/php-cgi.sock;
    fastcgi_index index.php;
    include fastcgi.conf;
}

location ~ .*.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {
    expires 30d;
    access_log off;
}
location ~ .*.(js|css)?$ {
    expires 7d;
    access_log off;
}
location ~ /(.user.ini|.ht|.git|.svn|.project|LICENSE|README.md) {
    deny all;
}
}

rsc 大佬有话说 :

宝塔面板不香吗,现在来问了

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具