# Nginx config in Discourse Docker?

**URL:** https://meta.discourse.org/t/nginx-config-in-discourse-docker/217699
**Category:** Self-hosting
**Created:** [February 9, 2022, 7:16pm UTC](https://meta.discourse.org/t/nginx-config-in-discourse-docker/217699 "2022-02-09T19:16:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [February 9, 2022, 8:48pm UTC](https://meta.discourse.org/t/nginx-config-in-discourse-docker/217699/2 "2022-02-09T20:48:27Z")

</div>

Depending upon what you’d want to change in the nginx configuration, the easiest way would be to use an _external_ nginx as reverse proxy to the discourse container and make your changes there.

Alternatively, if you want to make changes directly to your internal nginx server, you may have to create a hook in your yml file. It will vary based on what you want to achieve but this topic will give you a hint [Setup Multisite Configuration with Let's Encrypt and no Reverse Proxy](https://meta.discourse.org/t/multisite-configuration-with-lets-encrypt-and-no-reverse-proxy/175285)

---

_[View the full topic](https://meta.discourse.org/t/nginx-config-in-discourse-docker/217699)._
