I’m not too familiar with the server technologies. So my question is is it ok to deploy a project developed under Laravel Sail environment (which uses Nginx as default web server i guess) to a server which runs Apache? Will it work? Should i expect any problems?
2
Answers
Laravel Sail is not for production. It also doesn’t use apache or nginx, but php’s build in web server (php artisan serve). So please use your own, or have a look at my config.
I have modified the docker file to work with Sail and Apache for development purpose. You can take a look on Gitlab link here to have some idea for your production environment.