# 403 Error when changing any settings after enabling force\_https with proxy

**URL:** <https://meta.discourse.org/t/403-error-when-changing-any-settings-after-enabling-force-https-with-proxy/132246>\
**Category:** Product Support\
**Created:** [October 30, 2019, 3:51pm UTC](https://meta.discourse.org/t/403-error-when-changing-any-settings-after-enabling-force-https-with-proxy/132246 "2019-10-30T15:51:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cryocaustik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cryocaustik/32/82573_2.png) [@cryocaustik](https://meta.discourse.org/u/cryocaustik)\
**Post date:** [October 31, 2019, 5:11am UTC](https://meta.discourse.org/t/403-error-when-changing-any-settings-after-enabling-force-https-with-proxy/132246/5 "2019-10-31T05:11:55Z")

</div>

Completely forgot to set the proxy headers, added in the missing headers and all works well.

Thanks!

In case someone runs into this issue, the proxy pass headers I was missing:

```nginx
proxy_set_header HOST $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

```

---

_[View the full topic](https://meta.discourse.org/t/403-error-when-changing-any-settings-after-enabling-force-https-with-proxy/132246)._
