# Set Icon Server URL Globally

**URL:** <https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538>\
**Category:** Help\
**Created:** [January 18, 2021, 1:55am UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538 "2021-01-18T01:55:30Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jstockley](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jstockley](https://vaultwarden.discourse.group/u/jstockley)\
**Post date:** [January 18, 2021, 1:55am UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/1 "2021-01-18T01:55:30Z")

</div>

Hello. I am very new to bitwarden\_rs. I was wondering if there is a way to set a custom Icons Server URL on the server-side. I know there is a way to do that on the mobile apps when singing in but was wondering if there is either a flag I can run when starting the docker container or by chaining some config file. Any feedback is appreciated.

Thanks, Jack

---

<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:36pm UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/2 "2021-01-24T23:36:03Z")

</div>

Hello @jstockley,

May I ask why you want to do that? What is the reason to change this?

---

<div class="post-metadata">

**Author:** ![jstockley](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jstockley](https://vaultwarden.discourse.group/u/jstockley)\
**Post date:** [January 24, 2021, 11:52pm UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/3 "2021-01-24T23:52:39Z")

</div>

Hello, thanks for the response. The reason I was hoping to change this is because some of the icons for logins aren’t available and when I change the ICONS server url in the bitwarden app it doesn’t seem to stick after reopening the application.

---

<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 25, 2021, 7:24am UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/4 "2021-01-25T07:24:43Z")

</div>

Could you share which sites do not show these icons then i can go and see if we can fix that.

All sites i have tested work on both bitwarden\_rs and bitwarden it self.  
So if we can improve let us know which failed and I’ll try to see if that can be added or fixed.

---

<div class="post-metadata">

**Author:** ![jstockley](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jstockley](https://vaultwarden.discourse.group/u/jstockley)\
**Post date:** [January 26, 2021, 8:39pm UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/5 "2021-01-26T20:39:35Z")

</div>

The major websites are canva dot com, krispykreme dot com, pexels dot com, southwest dot com, waze dot com, and yelp dot com. The rest are local IPs. Is there any way I could create custom logos for those and add them to my bitwarden install?

---

<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 26, 2021, 9:33pm UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/6 "2021-01-26T21:33:09Z")

</div>

Ill see what happens with those sites on my environment, and where possible fix it if needed.

Regarding the local ip’s, this is blocked by default.

> <https://github.com/dani-garcia/bitwarden_rs/blob/580c1bbc7dee940af0adfe7a45cdea85a64a523e/.env.template#L112>

With that option set to false it should check local IP also.

---

<div class="post-metadata">

**Author:** ![jstockley](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jstockley](https://vaultwarden.discourse.group/u/jstockley)\
**Post date:** [January 26, 2021, 10:16pm UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/7 "2021-01-26T22:16:46Z")

</div>

This is probably a stupid question but how do I go about editing that file within my docker container?

---

<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 26, 2021, 10:45pm UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/8 "2021-01-26T22:45:44Z")

</div>

Not. With docker you need to add it as environment args or with docker compose you add it to the environment tag using `-e` Like here [Disable registration of new users · dani-garcia/bitwarden\_rs Wiki · GitHub](https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users) .

You can use multiple `-e` after each other.

---

<div class="post-metadata">

**Author:** ![jstockley](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jstockley](https://vaultwarden.discourse.group/u/jstockley)\
**Post date:** [January 27, 2021, 1:43am UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/9 "2021-01-27T01:43:34Z")

</div>

I ran my docker container with this environment tag ‘-e ICON\_BLACKLIST\_NON\_GLOBAL\_IPS=false’ and they local IP icons still don’t show up. Am I running it with the correct tag?

---

<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 27, 2021, 6:58am UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/10 "2021-01-27T06:58:14Z")

</div>

They are probably listed now as miss files in the icon\_cache folder within the data folder. Try to remove all the files ending on .miss.

---

<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 27, 2021, 10:57pm UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/11 "2021-01-27T22:57:44Z")

</div>

I did checked a few sites, and tried to see if we would be able to fetch the icons, but that isn’t possible.  
Some sites don’t have an icon at all, at least not at the page they provide when not using an actual browser. And a few others are using CloudFlare protection which prevents us from downloading the favicons or main html site.

---

<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 28, 2021, 7:56am UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/12 "2021-01-28T07:56:20Z")

</div>

btw, adding custom icon’s is sort of possible if you just download the correct image and name it the correct way and put it in the icon\_cache folder. But it is a bit cumbersome maybe.

---

<div class="post-metadata">

**Author:** ![hvisage](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@hvisage](https://vaultwarden.discourse.group/u/hvisage)\
**Post date:** [August 23, 2021, 10:27am UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/13 "2021-08-23T10:27:48Z")

</div>

> [@BlackDex](#):
>
> May I ask why you want to do that? What is the reason to change this?

The reason I’m interested in this global Icon server “redirect” perhaps, is that I don’t want my vaultwarden/bitwarden\_rs instance making all sorts of outgoing requests… which in most cases gets blocked by the firewall as not on the allow-list.

---

<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:** [August 23, 2021, 10:48am UTC](https://vaultwarden.discourse.group/t/set-icon-server-url-globally/538/14 "2021-08-23T10:48:29Z")

</div>

Then i suggest you configure your reverse proxy to pass those request to [icons.bitwarden.com](http://icons.bitwarden.com) or which ever other system you want. I think it will make vaultwarden have to much options and exception for these kind of niche features.

If adding one, others will want other icon providers with all there different implementations apart from the built-in version.

Most people do not want to use an external provider because of security and privacy.
