bitwarden / self-host

Bitwarden's self-hosted release repository
GNU General Public License v3.0
307 stars 54 forks source link

Nginx can't bind to privileged ports #184

Closed cepresso closed 6 months ago

cepresso commented 7 months ago

When using the environment variables to set the exposed ports:

- BW_PORT_HTTP=80
- BW_PORT_HTTPS=443

nginx doesn't start with the following error message:

nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

I'm using a macvlan network so port mapping doesn't work. Maybe it's possible to grant nginx privileges to bind to lower ports.

nexcode commented 7 months ago

https://github.com/bitwarden/server/issues/3258

TroyBW commented 6 months ago

Hi there,

If you are using the Bitwarden Unified setup, which is in beta, we recommend using the Docker Compose file Bitwarden provides here: https://bitwarden.com/help/install-and-deploy-unified-beta/#using-docker-compose

If additional assistance is required, please write us back using our “Contact support” form located on our Help Center (https://bitwarden.com/help/).

The issue here will be closed.

Thanks!