• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Stop nginx from listening on specific IP port 80/443

cyberjunk

New Pleskian
Dear forum,

how can I remove a few "server { }" blocks from the file "/etc/nginx/plesk.conf.d/server.conf" without them being readded by plesk?

I want to stop nginx from listening on port 80/443 for a specific IP which is listed there.

Very much like described here:
http://kb.odin.com/en/1694

But with nginx running in front of apache...

My setup looks like this:
* Plesk 12 + Ubuntu 14.04
* IP-Pair1 (IPv4_1 + IPv6_1)
* IP-Pair2 (IPv4_2 + IPv6_2)

IP-Pair1 is supposed to host admin and customer acess.
= Plesk-admin-interface (lighhttpd?) on 80/443 instead of 8443 (ssh on 22, ftp ...)

IP-Pair2 is supposed to host visitor access.
= Plesk webspaces (nginx/apache) on 80/443

So I want to stop nginx from grabbing ports 80/443 of IP-Pair1 and listen to IP-Pair2 addresses only. Then I want to set plesk-admin interface to listen to 80/443 on IP-Pair1 only.

Thanks.
 
Ok. I disabled nginx for now, so I can adjust the apache binding....

BTW: The plesk admin interface binding can be controlled by:
/etc/sw-cp-server/conf.d/plesk.conf
/etc/sw-cp-server/conf.d/ipv6_ports.inc
 
/etc/sw-cp-server/conf.d/ipv6_ports.inc

gets overwritten each reboot for me.. :(
so don't do that...

Edit: I added the IPV6 bindings to the plesk.conf and removed the include of the ipv6_ports.inc there. plesk.conf may still get overwritten at some point, but at least this survives reboots.
 
Last edited:
Back
Top