Ticket: Update Nginx config to reflect port 5001 changes
@Abdelkrim Just created a ticket
Question: I changed the port of postiz-app to 5001 inside the docker-compose.yml error message : 502 Bad Gateway nginx/1.18.0 (Ubuntu)
Attempted: I checked all parameters , they are correct postiz-app is still listening to port 5000 running docker exec -it [ID-container] netstat -tuln does not show the port 5001 but 5000
Working On: setup postiz to test the functionalities
Take it from here @Mod π₯
Question: I changed the port of postiz-app to 5001 inside the docker-compose.yml error message : 502 Bad Gateway nginx/1.18.0 (Ubuntu)
Attempted: I checked all parameters , they are correct postiz-app is still listening to port 5000 running docker exec -it [ID-container] netstat -tuln does not show the port 5001 but 5000
Working On: setup postiz to test the functionalities
Take it from here @Mod π₯
3 Replies
What exactly do you want to achieve?
There is no way to change the port of the postiz-app to 5000. If you wanted to do that you would've to change the Caddyfile (caddy is used as a reverse proxy to expose postiz-app on port 5000).
But why do you want to change it inside the container?
Isn't it enough to expose it at port 5001 e.g.
Running
will not show the 5001 in this case as it's still running at 5000 (inside the container), but you should be able to access it at 5001
thank you @Sven I'll update the "ports" accordingly
@sven it worked ! thank you this precise answer!
Hi @Abdelkrim Please select an action
The thread is now closed