Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
The usual plot is to host on Apache because of htaccess and then slap an Nginx reverse proxy in front of the Apache to get the best of both worlds.
-
@Fast-Nop Thanks for the tip. You must be a DevOps guy. I gotta dive deep in DevOps too
-
@Devnergy ah no, far from devops, not even sysadmin - it's just what I have seen in practice.
-
620hun81886y@Fast-Nop yep, this is how my Docker cluster is like (except gunicorn instead of Apache) and it works nicely
-
@Fast-Nop the best localhost development environment should be docker right? Because it can be the same to the production setup and OS?
-
@Devnergy I think Docker solves quite a different problem. Apache is more flexible while Nginx is faster especially under high load.
Docker, on the other hand, addresses the dependency hell under Linux while having a lower footprint than a full blown VM. So Docker makes most sense for application deployment that actually have quite some dependencies, which happens if you run a lot of stuff on the server side besides Apache/Nginx.
Related Rants
Sad. Laravel Valet uses Nginx. What if your office system is using Apache and is heavy in using .htaccess?
Ok back to MAMP and Docker. I'll just use Valet for simple things.
rant
docker
valet
mamp