# Installing Discourse With Plesk Onyx (Ubuntu 14.04)

**URL:** <https://meta.discourse.org/t/installing-discourse-with-plesk-onyx-ubuntu-14-04/65602>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2017 年7 月 4 日 16:56 UTC](https://meta.discourse.org/t/installing-discourse-with-plesk-onyx-ubuntu-14-04/65602 "2017-07-04T16:56:53Z")\
**Posts on this page:** 1\
**Showing post:** 32

<div class="post-metadata">

作者： ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
发布日期： [2018 年7 月 5 日 10:23 UTC](https://meta.discourse.org/t/installing-discourse-with-plesk-onyx-ubuntu-14-04/65602/32 "2018-07-05T10:23:37Z")

</div>

Hi,  
I struggled to install Discourse on Plesk and I also had to do the following in the nginx/apache domain settings:

- Disable proxy mode:

![image](https://global.discourse-cdn.com/meta/original/3X/8/3/832af572a30a707df393172f11bd5774dac67a6f.png)

- Add additionnal nginx directives:

```plaintext
location =/ {
	proxy_pass http://0.0.0.0:8060;
	proxy_set_header Host $host;
	proxy_set_header X-Real-IP $remote_addr;
	proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
	proxy_set_header X-Forwarded-Proto https;
}

```

Also, it seems that the docker proxy rules had to be in this very order otherwise it wouldn’t work:  
 ![image](https://global.discourse-cdn.com/meta/original/3X/9/5/953493d7b6b7a2f972a52e9044a9629eb0043223.png)

I have Plesk 17.8, Debian 8.11 and my server is installed on a VPS3 server from OVH.

May it help someone one day. 🙂

---

_[View the full topic](https://meta.discourse.org/t/installing-discourse-with-plesk-onyx-ubuntu-14-04/65602)._
