• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

HentaiH

Hentai

@Hentai
About
Posts
19
Topics
4
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

    RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @julian Yeah, they were on the same server 😖 , and thank you for your warm help 😄


  • RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @Tanner @Albus

    Oh ! it really works !!! Thank you very much 😆


  • RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @Guiri Of course:

    2014/07/09 01:13:17 [error] 8494#0: *26 connect() failed (111: Connection refused) while connecting to upstream, client: 113.109.53.7, server: huoshaolin.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:4567/", host: "huoshaolin.com"
    2014/07/09 01:13:17 [error] 8494#0: *26 connect() failed (111: Connection refused) while connecting to upstream, client: 113.109.53.7, server: huoshaolin.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:4567/favicon.ico", host: "huoshaolin.com"
    2014/07/09 01:17:47 [error] 8494#0: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 113.109.53.7, server: huoshaolin.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:4567/", host: "www.huoshaolin.com"
    2014/07/09 01:17:47 [error] 8494#0: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 113.109.53.7, server: huoshaolin.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:4567/favicon.ico", host: "www.huoshaolin.com"
    2014/07/09 01:17:50 [error] 8494#0: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 113.109.53.7, server: huoshaolin.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:4567/", host: "www.huoshaolin.com"
    2014/07/09 01:17:50 [error] 8494#0: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 113.109.53.7, server: huoshaolin.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:4567/favicon.ico", host: "www.huoshaolin.com"
    2014/07/09 01:17:52 [error] 8494#0: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 113.109.53.7, server: huoshaolin.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:4567/", host: "www.huoshaolin.com"
    2014/07/09 01:17:53 [error] 8494#0: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 113.109.53.7, server: huoshaolin.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:4567/favicon.ico", host: "www.huoshaolin.com"
    2014/07/09 01:26:43 [error] 8494#0: *38 connect() failed (111: Connection refused) while connecting to upstream, client: 107.178.200.63, server: huoshaolin.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:4567/", host: "www.huoshaolin.com"
    2014/07/09 01:26:45 [error] 8494#0: *40 connect() failed (111: Connection refused) while connecting to upstream, client: 107.178.200.63, server: huoshaolin.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://127.0.0.1:4567/favicon.ico", host: "www.huoshaolin.com"


  • RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @julian Yeah, I was start NodeBB in root:

    图像 004.png


  • RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @julian

    I was following this guide to install my Nginx:

    But I didn't use a regular, non-root user to install it (I installed it using root user), maybe this is the problem ?

    图像 003.png


  • RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @julian

    图像 002.png


  • RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @julian I was created this file as root user...


  • RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @julian Yes, I have restart it, using sudo service nginx restart


  • RE: Nginx 502 Bad Gateway
  • HentaiH Hentai

    @julian It has:

    图像 001.png


  • Nginx 502 Bad Gateway
  • HentaiH Hentai

    When I configured Nginx on my Linode server, I still unable to visit my website without a port number:

    图像 001.png

    But with a port number, it can be visited:

    图像 002.png

    My server OS is Ubuntu 14.04 LTS, Nginx version is 1.4.6:

    图像 003.png

    And in /etc/nginx/sites-available and /etc/nginx/sites-enabled, I have my configuration file named "huoshaolin", the contents are:

    server {
        listen 80;
    
        server_name huoshaolin.com www.huoshaolin.com;
    
        location / {
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;
            proxy_set_header X-NginX-Proxy true;
    
            proxy_pass http://127.0.0.1:4567/;
            proxy_redirect off;
    
            # Socket.IO Support
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
        }
    }
    

    I just modified it base on the doc: https://docs.nodebb.org/en/latest/configuring/proxies/nginx.html

    When I ran nginx -t , it looks fine (I think):

    图像 004.png

    And the /etc/nginx/nginx.conf also changed:

    图像 005.png

    So what's the problem about this 502 Bad Gateway ?


  • RE: info: Database type not set! Run node app --setup
  • HentaiH Hentai

    @julian Thanks, now it's no problem : )


  • RE: info: Database type not set! Run node app --setup
  • HentaiH Hentai

    When I install NodeBB on my local Windows 8.1, I also have this problem :

    图像 001.png

    I was following this guide : https://docs.nodebb.org/en/latest/installing/os/windows8.html


  • RE: I want to change "said" to other language, what files should I modify?
  • HentaiH Hentai

    @a_5mith Me too ... 😝


  • RE: I want to change "said" to other language, what files should I modify?
  • HentaiH Hentai

    @psychobunny Thanks !


  • I want to change "said" to other language, what files should I modify?
  • HentaiH Hentai

    无标题.png


  • RE: What does this folder do?
  • HentaiH Hentai

    @helltux Thanks for your link : )


  • What does this folder do?
  • HentaiH Hentai

    In the theme "nodebb-theme-vanilla", there have a "bootstrap-rtl" folder, what does it do? And what "rtl" means?


  • RE: I want to delete this button,what files should I modify?
  • HentaiH Hentai

    @a_5mith Thanks for your advice : )


  • I want to delete this button,what files should I modify?
  • HentaiH Hentai

    无标题.png

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.