Open endelwar opened 7 years ago
Found the problem: PHP7.0 has libapache2-mod-php7.0 as dependency if php7.0-fpm and php7.0-cgi are not beeing installed: https://packages.debian.org/stretch/php7.0
Can you try #26? It should fix the problem. Nevertheless until now I have't tested nginx installation at all 😄
Going to test in a couple of hours, also I'm going to prepare a basic nginx config file.
Should we continue with "/mailscanner" dir alias or move to the more modern "mailwatch.example.com" virtual domain in install script?
I finally managed to test #26 and I can confirm that it works on debian 9 and debian 8.
I'm trying to create a base nginx config file, but nginx doesn't have a global alias like apache (Alias /mailwatch/ "WEBFOLDER"
), alias
es must reside inside a location
directive, which must reside inside a server
directive: in nginx every site definition is equivalent to a virtualhost, even the default catchall site (server_name _;
).
I can take 2 way:
location /mailwatch/
directiveShould we sync this between nginx and apache?
Im that case it is probably better to just use a virtualhost for both apache and nginx.
I'm installing on a test VM with minimal Debian 9 installed; after selecting Nginx as webserver option apache2 is in the list of packages to be installed