[Postfixadmin-devel] Blank domain.tld/setup.php page nothing in logs
Brought to you by:
christian_boltz,
gingerdog
From: Danny H. <dho...@gm...> - 2019-03-08 10:47:25
|
Hello, I have been at this for the last 2 days, but i can not seem to figure it out. I have MariaDB, PHP and Nginx working fine, my nextcloud instance is working great. I followed this tutorial https://wiki.archlinux.org/index.php/Virtual_user_mail_system And i am stuck at PostfixAdmin, because the tutorial depends on Postfixadmin to create the database tables The tutorial uses Apache, but i use Nginx, so i think the problem lies in my nginx config file. This is the content of /etc/nginx/sites-available/postfix which is symlinked to /etc/nginx/sites-enabled/postfix server { if ($host = houtworm.email) { return 301 https://$host$request_uri; } } server { listen 443 ssl; server_name houtworm.email; root /usr/share/webapps/postfixAdmin/public/; index index.php; charset utf-8; ## SSL settings ssl_certificate /etc/letsencrypt/live/houtworm.email/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/houtworm.email/privkey.pem; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot ssl_protocols TLSv1.2; ssl_ciphers "EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:!aNU LL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4"; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; ssl_ecdh_curve add_header Strict-Transport-Security max-age=31536000; # add_header X-Frame-Options DENY; # auth_basic "Restricted area"; # auth_basic_user_file /etc/nginx/passwd; location / { try_files $uri $uri/ index.php; } location ~* \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_index index.php; } } server { listen 80; server_name houtworm.email; return 404; # managed by Certbot } I only get blank pages, nothing in the body, no 404. nothing in the logs of nginx, php-fpm or postfix, no entries for postfixadmin. I am not sure what to do at this point, I thought i would ask the Gurus :) Greets, Danny |