13
Wombat
7y

How hard was the transfer from Apache to Nginx server for you? I'm not quite sure if I should put Nginx on my to-learn-list.

Comments
  • 1
    It's really not that bad, unless you have a lot of rewrite rules. I typically use HAProxy + nginx for my static content sites.
  • 1
    Very simple and it made a HUGE difference to server performance on the same hardware. Concurrent requests were handled better and I cannot see myself ever moving back to Apache, not unless the incoming requests are handled by NGINX and reverse proxied through to Apache.
  • 2
    How are rewrites on nginx handled? Do you need to set it to the config (meaning SU rights?)
  • 0
    @AlexDeLarge I've read that it only can be used with static sites. But then I saw an installation of a lemp-stack which includes PHP. I'm confused now.
  • 1
    Having used both and switched from Apache to NGINX, I'd say it's worthwhile. It's faster and easy to transition.
  • 0
    @AlexDeLarge this article confused the ahit out of me. Cause I saw builds which had PHP installed with Nginx and of course that means it can serve dynamic content... 🤔
  • 2
    @Divisionbyzero nginx is not only for static sites, if that article is saying that. I cannot read so.. 😁
Add Comment