Can the installer support nginx?
I had to modify the config file:
sed -i -e 's|root /var/www/html|root /var/www/froxlor|g' /etc/nginx/sites-enabled/default --follow-symlinks
sed -i -e 's/#location/location/g' /etc/nginx/sites-enabled/default --follow-symlinks
sed -i -e 's|#location ~ \.php|location ~ \.php|g' /etc/nginx/sites-enabled/default --follow-symlinks
sed -i -e 's|#\tinclude sni|\tinclude sni|g' /etc/nginx/sites-enabled/default --follow-symlinks
sed -i -e 's|#\tfastcgi_pass unix|\tfastcgi_pass unix|g' /etc/nginx/sites-enabled/default --follow-symlinks
sed -i -z -e 's|9000;\n\t#|9000;\n\t|g' /etc/nginx/sites-enabled/default --follow-symlinks
sed -i -E 's|(^\sindex )|\1index.php |g' /etc/nginx/sites-enabled/default --follow-symlinks
and removed one '#' manually
to get froxlor running with nginx after the install script
If I use apache first and change to nginx after froxlor install script, will
php /var/www/froxlor/froxlor/install/scripts/config-services.p....
configure nginx ?
Can the installer support nginx? I had to modify the config file:
sed -i -e 's|root /var/www/html|root /var/www/froxlor|g' /etc/nginx/sites-enabled/default --follow-symlinks sed -i -e 's/#location/location/g' /etc/nginx/sites-enabled/default --follow-symlinks sed -i -e 's|#location ~ \.php|location ~ \.php|g' /etc/nginx/sites-enabled/default --follow-symlinks sed -i -e 's|#\tinclude sni|\tinclude sni|g' /etc/nginx/sites-enabled/default --follow-symlinks sed -i -e 's|#\tfastcgi_pass unix|\tfastcgi_pass unix|g' /etc/nginx/sites-enabled/default --follow-symlinks sed -i -z -e 's|9000;\n\t#|9000;\n\t|g' /etc/nginx/sites-enabled/default --follow-symlinks sed -i -E 's|(^\sindex )|\1index.php |g' /etc/nginx/sites-enabled/default --follow-symlinks
and removed one '#' manually
to get froxlor running with nginx after the install script
If I use apache first and change to nginx after froxlor install script, will php /var/www/froxlor/froxlor/install/scripts/config-services.p.... configure nginx ?