Category : amazon-elastic-beanstalk

I need to redirect my website from http to https. I follow aws guide (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https-elb.html) and now, if i add "https://" to url, it works. So i add a .config file in .ebextensions folder with this code: files: /etc/httpd/conf.d/http-redirect.conf: mode: "000644" owner: root group: root content: | RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTP_USER_AGENT} !ELB-HealthChecker ..

Read more

I’m new to AWS and in web application deploying in general, and I’m trying to deploy my Symfony 3.4 application using Elastic Beanstalk. So i tried to follow these instructions : https://docs.aws.amazon.com/fr_fr/elasticbeanstalk/latest/dg/php-symfony-tutorial.html the problem that i have always this message when i click to the url : Forbidden You don’t have permission to access / ..

Read more

I am deploying a Symfony 4.4 app to AWS ElasticBeanstalk and noticed that the cache wasn’t cleared after each deploy. The app was running fine though, exception made to the stale cache. To resolve the cache issue I added the following file: /.ebextensions/deploy.config container_commands: 01-clear-cache: command: php bin/console cache:clear –no-warmup –env=prod That seems to clear ..

Read more