rennokki / laravel-aws-eb

Ready-to-deploy configuration to run Laravel on AWS Elastic Beanstalk.
484 stars 130 forks source link

Apache configuration #26

Closed nitishxp closed 4 years ago

nitishxp commented 4 years ago

Can you please also provide a apache2 config ?

rennokki commented 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.

nitishxp commented 4 years ago

So you meant, use the nginx and overwrite the nginx.conf to handle all the things right? and remove .htaccess from the code?

rennokki commented 4 years ago

Add a public/.htaccess in your Laravel project and config it from there. everything should work fine.