Welcome to Centmin Mod Community
Become a Member

Beta Branch fix nginx backlog bug in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 27, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,146
    Local Time:
    9:38 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix nginx backlog bug in 123.09beta01

    - recent change from https://community.centminmod.com/threads/update-set-autohardtune_nginxbacklog-y-by-default-again-in-123-09beta01.22507/#post-92145 introduced a bug in main hostname vhost after centmin.sh menu option 4 recompile or new installs where vhost file at /usr/local/nginx/conf/conf.d/virtual.conf missing ending semi-colon preventing nginx server start up or restart

    error on attempted nginx restart/startup would be

    nginx -t
    nginx: [emerg] invalid parameter "server_name" in /usr/local/nginx/conf/conf.d/virtual.conf:3

    incorrect entry would be missing ending semi-colon for listen directive

    listen 80 default_server backlog=32767


    should be

    listen 80 default_server backlog=32767;

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,146
    Local Time:
    9:38 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Existing users can run cmupdate to update and re-run centmin.sh menu option 4 to recompile Nginx only if you get the error on nginx start/restart.