# NGINX proxy in front of the Docker container.errors

**URL:** https://meta.discourse.org/t/nginx-proxy-in-front-of-the-docker-container-errors/55668
**Category:** Self-hosting
**Created:** [12 Janeiro , 2017 20:33 UTC](https://meta.discourse.org/t/nginx-proxy-in-front-of-the-docker-container-errors/55668 "2017-01-12T20:33:52Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![intagger](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@intagger](https://meta.discourse.org/u/intagger)
#### Post date: [14 Janeiro , 2017 11:28 UTC](https://meta.discourse.org/t/nginx-proxy-in-front-of-the-docker-container-errors/55668/4 "2017-01-14T11:28:38Z")

</div>

I think that you need to replace `spdy` with `http2` in `/etc/nginx/conf.d/discourse.conf`.  
And install a certificate 😉 it is simple with the [letsencrypt tool (aka certbot)](https://certbot.eff.org).

btw, I have updated [that wiki](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247) to support `http2` instead of deprecated `spdy`.

---

_[View the full topic](https://meta.discourse.org/t/nginx-proxy-in-front-of-the-docker-container-errors/55668)._
