# Issue w/ nginx after updating

**URL:** <https://meta.discourse.org/t/issue-w-nginx-after-updating/216262>\
**Category:** Self-hosting\
**Created:** [January 27, 2022, 11:37pm UTC](https://meta.discourse.org/t/issue-w-nginx-after-updating/216262 "2022-01-27T23:37:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cookieman768](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cookieman768/32/118511_2.png) [@cookieman768](https://meta.discourse.org/u/cookieman768)\
**Post date:** [January 27, 2022, 11:37pm UTC](https://meta.discourse.org/t/issue-w-nginx-after-updating/216262/1 "2022-01-27T23:37:46Z")

</div>

Hello 👋 - I just updated my installation today but, I encountered the following error, and it keeps repeating. I’m unable to access the site but, it looks like this _should_ have been fixed earlier this year? These two posts seem to have the same issue, but I’m not sure what changed to break this again.

[https://meta.discourse.org/t/discourse-updated-from-admin-not-working-after-rebuild-fatal-502-error-after-rebuild/200443?u=cookieman768](https://meta.discourse.org/t/discourse-updated-from-admin-not-working-after-rebuild-fatal-502-error-after-rebuild/200443)

> [@Cloudflare template broken again](https://meta.discourse.org/t/cloudflare-template-broken-again/200219):
>
> This is a similar issue to [Issue with Cloudflare template](https://meta.discourse.org/t/issue-with-cloudflare-template/35113), but this time Cloudflare appears to have removed the trailing line break from the IPv4 list, resulting in the following output (comment added to indicate problem): set\_real\_ip\_from 173.245.48.0/20; set\_real\_ip\_from 103.21.244.0/22; set\_real\_ip\_from 103.22.200.0/22; set\_real\_ip\_from 103.31.4.0/22; set\_real\_ip\_from 141.101.64.0/18; set\_real\_ip\_from 108.162.192.0/18; set\_real\_ip\_from 190.93.240.0/20; set\_real\_ip\_from 188.114.96.0/20; set\_r…

```plaintext
nginx: [emerg] host not found in set_real_ip_from "131.0.72.0/222400:cb00::/32" in /etc/nginx/conf.d/discourse.conf:116

```

Has anyone else encountered this? I’m just not sure what the fix would be unless something changed with Cloudflare yet again.

---

_[View the full topic](https://meta.discourse.org/t/issue-w-nginx-after-updating/216262)._
