Apache to NGINX

Discussion in 'General' started by almere, Feb 20, 2013.

  1. almere

    almere Member HowtoForge Supporter

    Hi there!

    I'm currently using apache2 as a webserver (Debian). I want to change it to nginx. I followed this tutorial http://www.howtoforge.com/nginx-cat...end-to-apache-for-ispconfig-3-on-debian-lenny but it doesn't works, how i need, all subdomains with flag L redirect, does not load css, js and images files. I can not figure it out (if some on can help it, please!).

    I decided to change the web server to nginx. Can i just change ISPConfig configuration (webserver from apache to nginx) and than run resync tool, will it create all hosts for nginx? Or how can i do it another way?

    Please, help!


    Thank you
     
  2. almere

    almere Member HowtoForge Supporter

    Someone? Please!
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The configuration of apache and nginx is very different, so you can not switch from apache to nginx or vice versa on a installed system by just installing a nginx package. You will have to reinstall the server if you want to use nginx.
     
  4. almere

    almere Member HowtoForge Supporter

    Reinstall the server (you mean OS) or just install nginx and reinstall ispconfig?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Reinstall the server.
     
  6. almere

    almere Member HowtoForge Supporter

    Thank you.

    One more: i already installed nginx+ISPConfig , but i can not use FastCGI, only PHP-FPM is it a bug or a feature ? :D
     
  7. falko

    falko Super Moderator Howtoforge Staff

    There's no FastCGI for nginx, only PHP-FPM. In ISPConfig 3.0.4, it was named FastCGI, although it was PHP-FPM, so we renamed it to PHP-FPM.
     

Share This Page