Learn about Centmin Mod LEMP Stack today
Become a Member

Nginx site doesnt load after server hard reboot

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by yunos, Sep 14, 2019.

  1. yunos

    yunos Member

    63
    3
    8
    Aug 8, 2015
    Ratings:
    +9
    Local Time:
    5:10 PM
    1.8.0
    centos 7
    i jsut get connection time out issue despite firewall being disabled and but was fine before the server hard reboot.

    i tried to reinstall nginx and fpm but that didnt work at all.
    even browsing my main server ip doesnt work even though nginx config is set to listen to that ip/80

    nginx status doesnt show any error and is online and listening

    https://i.imgur.com/ZPi2F42.png
    https://i.imgur.com/pTPVkJU.png

    var/log/nginx also doesnt show any errors
     
    Last edited: Sep 14, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    41,390
    9,298
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,265
    Local Time:
    1:10 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    disabling CSF Firewall will block all ports including 80/443 as CSF Firewall when enabled, whitelists those ports. So by disabling CSF Firewall, you have blocked port 80/443 access
     
  3. yunos

    yunos Member

    63
    3
    8
    Aug 8, 2015
    Ratings:
    +9
    Local Time:
    5:10 PM
    1.8.0
    i see. Well the issue was resolved when i downgraded nginx and upgraded to current mainline version.

    whats strange was that despite me reinstalling 1.17.3 three times, the websit was still down. site only was up when i downgraded to 1.17.1
     
  4. eva2000

    eva2000 Administrator Staff Member

    41,390
    9,298
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,265
    Local Time:
    1:10 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x