dunglas / symfony-docker

A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.
https://dunglas.dev/2021/12/symfonys-new-native-docker-support-symfony-world/
2.53k stars 747 forks source link

Disable https in local development environment #601

Closed farestayari closed 5 months ago

farestayari commented 5 months ago

Hello,

due to multiple problems with my ionic app connecting using the https certication in localhost mode, i would like to know if there a way to disable https in locahost environment?.

maxhelias commented 5 months ago

Hello,

We explain it in the production doc but it's the same for localhost : https://github.com/dunglas/symfony-docker/blob/main/docs/production.md#disabling-https Use the env var like this : SERVER_NAME=:80 before your command