Installing Discourse With Plesk Onyx (Ubuntu 14.04)

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

  • Add additionnal nginx directives:
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

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. :slight_smile: