# Configuring server URL for outbound email when using reverse proxy

**URL:** <https://vaultwarden.discourse.group/t/configuring-server-url-for-outbound-email-when-using-reverse-proxy/547>\
**Category:** Help\
**Created:** [January 24, 2021, 10:37pm UTC](https://vaultwarden.discourse.group/t/configuring-server-url-for-outbound-email-when-using-reverse-proxy/547 "2021-01-24T22:37:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anderbubble](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anderbubble](https://vaultwarden.discourse.group/u/anderbubble)\
**Post date:** [January 24, 2021, 10:37pm UTC](https://vaultwarden.discourse.group/t/configuring-server-url-for-outbound-email-when-using-reverse-proxy/547/1 "2021-01-24T22:37:42Z")

</div>

I have bitwarden\_rs running in a docker container and behind a host-level nginx reverse proxy. It’s all working, except that the emails it generates (e.g., for verification) contain hrefs that refer to localhost, rather than the correct proxy location.

How do I configure the intended proxy location? And, assuming this is in the wiki somewhere and I’ve just missed it, where is it documented?

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [January 24, 2021, 11:33pm UTC](https://vaultwarden.discourse.group/t/configuring-server-url-for-outbound-email-when-using-reverse-proxy/547/2 "2021-01-24T23:33:58Z")

</div>

Hello @anderbubble,

It is all documented here: [Configuration overview · dani-garcia/bitwarden\_rs Wiki · GitHub](https://github.com/dani-garcia/bitwarden_rs/wiki/Configuration-overview)

Hope that it helps.

---

<div class="post-metadata">

**Author:** ![anderbubble](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anderbubble](https://vaultwarden.discourse.group/u/anderbubble)\
**Post date:** [January 25, 2021, 12:14am UTC](https://vaultwarden.discourse.group/t/configuring-server-url-for-outbound-email-when-using-reverse-proxy/547/3 "2021-01-25T00:14:38Z")

</div>

How embarrassing for me. ,\_, I even did see that page that lists all the envs before, but I didn’t find DOMAIN because I kept searching for URL. Thanks.
