Jump to content
Froxlor Forum
  • 0

Froxlor/Nginx scheint eine *.conf zu ignorieren


mircsicz

Question

Hi hi,

 

hab eine neue Domain erstellt, sagen wir mal ssb.de. Die *conf dazu sieht wie folgt aus:

# 22_froxlor_normal_vhost_ssb.de.conf
# Created 05.01.2015 19:09
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

server {
    listen xxx.xxx.xx.x:80;
    server_name ssb.de www.ssb.de;
    access_log /var/customers/logs/ssb-ssb.de-access.log combined;
    error_log /var/customers/logs/ssb-ssb.de-error.log error;
    root /var/customers/webs/ssb/altewebsite/;

    location / {
        index index.php index.html index.htm;
        try_files $uri $uri/ @rewrites;
    }

    location @rewrites {
        rewrite ^ /index.php last;
    }
    location /webalizer {
        alias /var/customers/webs/ssb/webalizer/ssb.de/;
        auth_basic "Restricted Area";
        auth_basic_user_file /etc/nginx/froxlor-htpasswd/26-2b820aeb81697a87606fc0207fdbb11c.htpasswd;
    }
    location ~ \.php {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        include /etc/nginx/fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        try_files $fastcgi_script_name =404;
        fastcgi_pass unix:/var/run/nginx/ssb-ssb.de-php-fpm.socket;
        fastcgi_index index.php;
    }

}

Soweit straight forward... Allerdings bleiben die logs leer und die /var/log/nginx/error.log f?llt sich so:

2015/01/07 18:45:06 [error] 23055#0: *6955 directory index of "/var/www/" is forbidden, client: yyy.yyy.yy.yy, server: websrv01.foo.de, request: "GET / HTTP/1.1", host: "www.ssb.de"

Ich bin daher gerade ratlos... OS is Debian Wheezy, Nginx is v1.6.1

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Also dein Logeintrag hat wie sich das mir darstellt nichts mit deinem Problem zu tun. Man vergleiche die Zeit der Config und die Zeit des Logeintrags.

 

Hast du mal probiert nginx manuell neu zu laden aka "service nginx reload"?

Link to comment
Share on other sites

Also dein Logeintrag hat wie sich das mir darstellt nichts mit deinem Problem zu tun. Man vergleiche die Zeit der Config und die Zeit des Logeintrags.

 

Hast du mal probiert nginx manuell neu zu laden aka "service nginx reload"?

Danke, aber das war das erste was ich probiert habe, dann auch noch mal mit "service nginx restart". Und ja zwischen dem erstellen der Domain und dem melden ist Zeit vergangen, das Problem bestand aber von Anfang an...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...