I made it work!
There was a problem in the config for wordpress. The example config seems to not fit to my server. I exchanged
Code
# location ~ \.php$ {
# #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
# include fastcgi_params;
# fastcgi_intercept_errors on;
# fastcgi_param HTTPS on;
# fastcgi_pass php-handler;
# fastcgi_buffers 16 16k;
# fastcgi_buffer_size 32k;
# }
with
Code
location ~ \.php$ {
try_files $uri =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS on;
fastcgi_param modHeadersAvailable true;
# EXPERIMENTAL: active the following if you need to get rid of the 'index.php' in the URLs
#fastcgi_param front_controller_active true;
fastcgi_read_timeout 180;
fastcgi_pass php-handler;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
}
Alles anzeigen