VestaCP + Nginx integration, Gui doesnt work

need-more-info

#1

Hi,

Server Config: Ubuntu Server 16.04LTS VestaCP 0.9.8 + Nginx 1.13.9
i try to make a new 55414 shtml port like this:

server {
listen 192.168.0.3:55414;
server_name xyz.ddns.net;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/xyz.ddns.net.log combined;
access_log /var/log/nginx/domains/xyz.ddns.net.bytes bytes;
error_log /var/log/nginx/domains/xyz.ddns.net.error.log error;

ssl on;
ssl_certificate /home/admin/conf/web/ssl.xyz.ddns.net.pem;
ssl_certificate_key /home/admin/conf/web/ssl.xyz.ddns.net.key;
root /usr/share/urbackup/www/;
index index.htm;

location /x {

    location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
        expires     max;
    }

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

        fastcgi_pass    127.0.0.1:55413;
        fastcgi_index   index.php;
        include         /etc/nginx/fastcgi_params;
    }

}
}

Php7.0-fpm:

[xyz.ddns.net]
listen = 127.0.0.1:55413
listen.allowed_clients = 127.0.0.1

i set the right permissions and nginx user. If ia made symlink the first page loaded but nothing else.

Thank you