Disable https and change Port #645
Answered
by
7-zete-7
rene-schwabe
asked this question in
Q&A
-
Hello, I would like to a run a symfony on a local network. I need to change the port to "8001" and disable https. What I tried: It seems the redirect is forced to https. How can I change the port and also disable https? |
Beta Was this translation helpful? Give feedback.
Answered by
7-zete-7
Jun 29, 2024
Replies: 1 comment
-
Hello @rene-schwabe. To disable HTTPS need to set Then forward All of this can be done by following command. SERVER_NAME=:80 HTTP_PORT=8081 docker compose up -d |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rene-schwabe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @rene-schwabe.
To disable HTTPS need to set
SERVER_NAME
environment variable to:80
.Then forward
80
port from inside as8001
.All of this can be done by following command.