# Nginx as reverse proxy and Content Security Policy issue

**URL:** <https://meta.discourse.org/t/nginx-as-reverse-proxy-and-content-security-policy-issue/322288>\
**Category:** Self-hosting\
**Tags:** nginx\
**Created:** [August 19, 2024, 3:55pm UTC](https://meta.discourse.org/t/nginx-as-reverse-proxy-and-content-security-policy-issue/322288 "2024-08-19T15:55:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sandra.mccollum](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sandra.mccollum/32/441742_2.png) [@sandra.mccollum](https://meta.discourse.org/u/sandra.mccollum)\
**Post date:** [August 19, 2024, 4:26pm UTC](https://meta.discourse.org/t/nginx-as-reverse-proxy-and-content-security-policy-issue/322288/3 "2024-08-19T16:26:19Z")

</div>

Yes, that is exactly what is in my add\_header Content Security Policy default-src ‘self’;

I can’t actually get to it online right now.

I cant seem to find the magic to set and add style-src and get rid of the errors.

---

_[View the full topic](https://meta.discourse.org/t/nginx-as-reverse-proxy-and-content-security-policy-issue/322288)._
