hi,
just wanted to update my IP-installation from 1.5.2 to 1.5.4.
the old installation was working perfectly, but after copying the new files to the webspace and calling https://subdomain.mydomain.com/index.php/setup, I get an 500 internal server error.
running nginx on debian with php7.0
after having a look at the error.log I assume, that something’s not correct with the vhost entry:
error.log:
2017/10/23 18:27:31 [error] 13240#13240: *25 rewrite or internal redirection cycle while redirect to named location “@php”, client: 111.11.111.11, server: subdomain.mydomain.com, request: “GET /index.php/setup HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm/web10.sock”, host: “subdomain.mydomain.com”
invoiceplane.vhost:
server {
listen *:80;
listen *:443 ssl;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_certificate /var/www/clients/client1/web10/ssl/subdomain.mydomain.com.crt;
ssl_certificate_key /var/www/clients/client1/web10/ssl/subdomain.mydomain.com.key;
server_name subdomain.mydomain.com;
root /var/www/subdomain.mydomain.com/web/;
index index.html index.htm index.php index.cgi index.pl index.xhtml;
error_log /var/log/ispconfig/httpd/subdomain.mydomain.com/error.log;
access_log /var/log/ispconfig/httpd/subdomain.mydomain.com/access.log combined;
location ~ /\. {
deny all;
}
location ~ \.php$ {
try_files /64a59e3eeeccee28f3cd852cefcce31b.htm @php;
}
location @php {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/run/php/php7.0-fpm/web10.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors on;
}
server_tokens off;
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}
location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Ro
ot|Tag|Template)$|.php_ {
deny all;
}
}
searched already the forum and googled as well but without any success…
thx for help