Hey Edho,
Thanks a lot! Fixed!
Kind Regards
Simon
Am 30.07.16 um 23:43 schrieb Edho Arief:
Hi,
On Sun, Jul 31, 2016, at 05:44, Simon Hönscheid wrote:
server {
server_name www.example.com;
listen xxx.xxx.xxx.xx:443 ssl http2;
access_log /var/log/nginx/www.example.com-access.log combined;
error_log /var/log/nginx/www.example.com-error.log notice;
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
ssl_ciphers
EECDH+AESGCM:EDH+AESGCM:EECDH:EDH:MD5:!RC4:!LOW:!MEDIUM:!CAMELLIA:!ECDSA:!DES:!DSS:!3DES:!NULL;
charset utf-8;
index index.php index.html;
client_max_body_size 50M;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:5m;
ssl_dhparam /etc/nginx/dhparam.pem;
ssl_certificate
/opt/letsencrypt_certificates/nginx/www.example.com/fullchain.pem;
ssl_certificate_key
/opt/letsencrypt_certificates/nginx/www.example.com/privkey.pem;
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
root /var/www/www.example.com;
}
location ~ \.php$ {
fastcgi_buffers 16 4k;
fastcgi_index index.php;
fastcgi_pass unix:/var/run/fpmpool-www.socket;
include fastcgi_params;
}
}
I think you're missing `root` directive either at server or php's
location block and `SCRIPT_FILENAME` in php's location block.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx