server { listen 80 default_server; listen [::]:80 default_server; root /var/www; index index.php index.html index.htm index.nginx-debian.html; server_name "$hostname"; include /etc/nginx/sites-dietpi/*.conf; location / { try_files $uri $uri/ =404; } location ~ \.php(?:$|/) { include snippets/fastcgi-php.conf; fastcgi_pass php; } location /Series { root /var/www/Series; index /h5ai/public/index.php; autoindex on; autoindex_exact_size on; } }