# How to relax Content Security Policy

**URL:** <https://meta.discourse.org/t/how-to-relax-content-security-policy/244459>\
**Category:** Development\
**Created:** [November 5, 2022, 4:51am UTC](https://meta.discourse.org/t/how-to-relax-content-security-policy/244459 "2022-11-05T04:51:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [November 5, 2022, 8:26am UTC](https://meta.discourse.org/t/how-to-relax-content-security-policy/244459/2 "2022-11-05T08:26:58Z")

</div>

> [@titusc](#):
>
> which means my browser would exit my internal network out to public Internet to resolve the domain name to it’s public IP address, and load the pages via its public IP address.

Then configure your machine to resolve that address to the local ip of the discourse server. There are many ways to do that, but they are os dependent, so you should include the os in your Google search. (In Linux and I think Mac is, you can just edit `/etc/hosts`.)

---

_[View the full topic](https://meta.discourse.org/t/how-to-relax-content-security-policy/244459)._
