Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder Vege's Avatar
    Join Date
    Jan 2008
    Posts
    825
    Thanks
    21
    Thanked 113 Times in 112 Posts

    Starting with nginx

    Sofrar 99% of my work time I have used apache.
    Iw been googling allot and messing around with nodejs and nginx thinking about making something scalable.
    Do you know any pitfalls with nginx that just don't work in some scenarios where apache does?
    Have you had any problems with it when coming from apache world?

    To me the config seems suprisingly similar after you get over the syntax.

  2. #2
    New to the CF scene
    Join Date
    Sep 2016
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    nginx can serve static contents but apache needs modules in back end. nginx known well for it's speed.

  3. #3
    New Coder
    Join Date
    Apr 2016
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In some cases you may need to run both Apache (httpd) and Nginx on port 80. Such a situation can be a server running Cpanel/Whm and as such doesn’t support nginx, so you wouldn’t want to mess with the apache configuration at all.

    To do this you have to make sure Apache and Nginx are bound to their own IP adddress, In the event of WHM/Cpanel based webserver, you can Release an IP to be used for Nginx in WHM. At this time I am not aware of a method of reserving an IP, and automatically forcing Apache to listen on a specific set of IPs in a control panel such as DirectAdmin or Plesk. But the link above will show you how with WHM/Cpanel.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •