• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Input Adding a reverse proxy outside Plesk

mr-wolf

Silver Pleskian
Plesk Guru
With success I have added webservices to my Plesk install that has no influence on the Plesk management.
For instance "btsync" can be installed on the server, but (at the time) it didn't support https. I also didn't want to use an ugly port entry for this.

What I did...
I configured btsync to only listen with its website to localhost. In /etc/nginx/conf.d I added a special config for https with its appropriate certificates and redirect that to the localhost to the port on which btsync is listening. I'm trusting nginx so much more to handle it and no extra entries need to be made for it in the firewall.

I did notice that it had some effect on domains that are not configured on the server. Normally they would get the "catch all webpage", but now these are redirected to that service page.
This was more of an annoyance than an actual problem, but it stopped me from publishing it.

The prefix zz of the psa conf was clearly added to force it being last. It just now gave me the idea to use that mechanism for my own purpose.
I renamed the file from btsync.conf to zzz_btsync.conf and this forced it to be executed after zz010_psa_nginx.conf

I can give more details if anyone has interest in this and welcome any comments.
 
Last edited:
Back
Top