<div dir="ltr">Hi people of Nginx, I hope you're ok. <div>Please i Hope you can help me with this, in a network that is using Nginx as Proxy Reverse since some years, the nginx.conf file is like this include with Nginx-1.23.2 and that file appears like this..</div><div><br></div><div><font color="#9900ff">user www-data;<br>worker_processes auto;<br>pid /run/nginx.pid;<br>include /etc/nginx/modules-enabled/*.conf;<br>load_module modules/ngx_http_modsecurity_module.so;<br><br>events {<br>        worker_connections 768;<br>        # multi_accept on;<br>}<br><br>http {<br><br>        ##<br>        # Basic Settings<br>        ##<br><br>        sendfile on;<br>        tcp_nopush on;<br>        types_hash_max_size 2048;<br>        # server_tokens off;<br><br>        # server_names_hash_bucket_size 64;<br>        # server_name_in_redirect off;<br><br>        include /etc/nginx/mime.types;<br>        default_type application/octet-stream;<br><br>        ### ModSecurity ###<br>        #modsecurity on;<br>        #modsecurity_rules_file /etc/nginx/modsec/modsec-config.conf;<br><br><br>        ##<br>        # SSL Settings<br>        ##<br><br>        ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE<br>        ssl_prefer_server_ciphers on;<br><br>        ##<br>        # Logging Settings<br>        ##<br></font><div><font color="#9900ff">       access_log /var/log/nginx/access.log;<br>        error_log /var/log/nginx/error.log;<br><br>        ##<br>        # Gzip Settings<br>        ##<br><br>        gzip on;<br><br>        # gzip_vary on;<br>        # gzip_proxied any;<br>        # gzip_comp_level 6;<br>        # gzip_buffers 16 8k;<br>        # gzip_http_version 1.1;<br>        # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;<br><br>        ##<br>        # Virtual Host Configs<br>        ##<br><br>        include /etc/nginx/conf.d/*.conf;<br>        include /etc/nginx/sites-enabled/*;<br>}<br><br><br>#mail {<br>#       # See sample authentication script at:<br>#       # <a href="http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript">http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript</a><br>#<br>#       # auth_http localhost/auth.php;<br>#       # pop3_capabilities "TOP" "USER";<br>#       # imap_capabilities "IMAP4rev1" "UIDPLUS";<br>#<br>#       server {<br>#               listen     localhost:110;<br>#               protocol   pop3;<br>#               proxy      on;<br>#       }<br>#</font><br></div><div><br></div><div><b>Ok, so in others servers the same file nginx.confg appears like this:</b></div><div> </div><div><font color="#0000ff">user  nginx;<br>worker_processes  auto;<br><br>error_log  /var/log/nginx/error.log notice;<br>pid        /var/run/nginx.pid;<br><br><br>events {<br>    worker_connections  1024;<br>}<br><br><br>http {<br>    include       /etc/nginx/mime.types;<br>    default_type  application/octet-stream;<br><br>    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '<br>                      '$status $body_bytes_sent "$http_referer" '<br>                      '"$http_user_agent" "$http_x_forwarded_for"';<br><br>    access_log  /var/log/nginx/access.log  main;<br><br>    sendfile        on;<br>    #tcp_nopush     on;<br><br>    keepalive_timeout  65;<br><br>    #gzip  on;<br><br>    include /etc/nginx/conf.d/*.conf;<br>}<br></font></div><div><br></div><div>The second file is Nginx directly from Nginx.org, my question is, Why that difference between both files ????</div><div><br></div><div>Thanks a lot for your help.</div><div><br></div><div>--<br></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div style="text-align:left"><font style="font-family:comic sans ms,sans-serif" size="2"><b style="background-color:rgb(255,255,255)">Gus Fls</b></font><br><br><br></div></div></div></div>