mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #101] Still Using Port 80 When HTTPS Enabled #55
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adambriand on GitHub (Jul 22, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/101
First off great project, thank you.
After following the instructions on the "Enabling HTTPS" section on the main page, I noticed in the logs that it is still using port 80 and the "-p 443:443" option would not allow me to connect. When I changed the option to "-p 443:80" it worked fine and I was able to connect to it via port 443.
@mprasil commented on GitHub (Jul 23, 2018):
You can change the port by setting the
ROCKET_PORTenvironment variable.I'm not sure if we can actually change the port automatically. (can we differentiate between user defined configuration and default setting?) But we should at least document the behavior and suggest changing the port.
@adambriand commented on GitHub (Jul 23, 2018):
Confirmed that everything works as expected after I added "-e ROCKET_PORT=443" to the run command in the documentation. Thank you.
@mannp commented on GitHub (Jul 24, 2018):
It initially confused me getting https working as there is no mention of ROCKET_PORT=443 in this section and so the config doesn't work as it is described.
It also works leaving the port as was 80:8080 (for non root user usage) and telling you proxy the ssl port is 8080.