Quantcast
Channel: Server Support Forum
Viewing all articles
Browse latest Browse all 7443

NGINX Update auf 1.9.3 - Reloading nginx: failed!

$
0
0
Hallo,

Ich hab gestern meinen nginx aktualisiert, und seitdem will das "reload" irgendwie nicht mehr funktionieren.

error.log bleibt leer, und ein "nginx -t" spuckt auch keinen Fehler aus.

Code:

root@server1 ~ # nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

Laut changelogs hat sich auch nicht wirklich viel getan, außer dass doppelte "http, mail" und oder "stream"-Blöcke nun nicht mehr erlaubt sind, was bei mir aber definitiv nicht der Fall ist.

Hier eine Config von mir:
Code:

server {
        listen          80;
        listen          [::]:80;
        server_name  *.DOMAIN.com DOMAIN.com www.DOMAIN.com;
        access_log  /var/log/nginx/DOMAIN.com/access.log;
        error_log /var/log/nginx/DOMAIN.com/error.log error;
        root /var/www/DOMAIN.com/htdocs;

        proxy_read_timeout 1500;
        client_max_body_size 100M;

        location / {
                index  index.php;
                if (!-e $request_filename) {
                rewrite ^.*$ /index.php last;
                }
        }

        # GZIP Compression
        gzip on;
        gzip_disable "msie6";
        gzip_vary on;
        gzip_types application/json application/javascript application/x-javascript application/x-tar application/xml image/svg+xml text/css text/plain text/xml;
        gzip_proxied any;

        location ~* \.(?:ico|css|js|gif|jpe?g|png|swf|svg)$ {
        expires 30d;
        add_header Pragma public;
        add_header Cache-Control "public";
        }

        location ~ [^/]\.php(/|$) {
        fastcgi_split_path_info ^(.+?\.php)(/.*)$;
        if (!-f $document_root$fastcgi_script_name) {
        return 404;
        }

        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        }
}

Im Syslog sehe ich auch nur folgenden Eintrag zum Zeitpunkt eines reloads.

Code:

Jul 19 22:03:01 server1 console-kit-daemon[10875]: GLib-CRITICAL: Source ID 83738 was not found when attempting to remove it
Jemand eine Idee, wo das hakt? :)

Danke,

Viewing all articles
Browse latest Browse all 7443

Trending Articles