P
Postizβ€’2mo ago
Support

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 πŸ”₯
3 Replies
Sven
Svenβ€’2mo ago
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.
ports:
- 5001:5000
ports:
- 5001:5000
Running
running docker exec -it [ID-container] netstat -tuln
running docker exec -it [ID-container] netstat -tuln
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
Abdelkrim
Abdelkrimβ€’2mo ago
thank you @Sven I'll update the "ports" accordingly @sven it worked ! thank you this precise answer!
Support
SupportOPβ€’2mo ago
Hi @Abdelkrim Please select an action The thread is now closed
Want results from more Discord servers?
Add your server