12

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.

Comments
  • 6
    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.
  • 2
    @Fast-Nop Thanks for the tip. You must be a DevOps guy. I gotta dive deep in DevOps too
  • 2
    @Devnergy ah no, far from devops, not even sysadmin - it's just what I have seen in practice.
  • 3
    Huh, our customers use laravel on apache only just fine
  • 2
    @Fast-Nop yep, this is how my Docker cluster is like (except gunicorn instead of Apache) and it works nicely
  • 0
    @Fast-Nop the best localhost development environment should be docker right? Because it can be the same to the production setup and OS?
  • 1
    @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.
Add Comment