Closed nitishxp closed 4 years ago
The AL2 version came at first with NGINX, so the configuration couldn't be done at the project-level using .htaccess
like Apache does. So for that case, you should use the public/.htaccess
file to make changes to the reverse proxy of your own.
So you meant, use the nginx and overwrite the nginx.conf to handle all the things right? and remove .htaccess from the code?
Add a public/.htaccess
in your Laravel project and config it from there. everything should work fine.
Can you please also provide a apache2 config ?