• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Apache listen on 127.0.0.1 possible?

J

johnmont

Guest
I'm working with running Squid as a reverse proxy on my Plesk 9.3 server. First, the ability to assign ports to virtual domains is great -- thanks for adding that.

However, at times this is problematic and I would actually like to run the apache server on 127.0.0.1 for my virtual domains. This way, I could run squid on the public IP address and pass on requests in Squid to the local loopback. This is possible in standalone apache configs, but I'd like to figure out how to do it "correctly" with Plesk. I would end up with something like:

Squid runs on public IP 192.65.34.12:80
Vhosts run on 127.0.0.1:80

The alternative I tried (which is now possible easily in 9.3) was:

Squid runs on public IP 192.65.34.12:80
Vhosts run on 192.65.34.12:8080

However, there are some implications when clients request a directory without the trailing slash -- apache redirects them to the 8080 port, which bypasses the Squid proxy.

Thanks for any suggestions.
 
Hi,

I'm trying to do such the same, but the only thing I get if I run squid on the public IP and httpd on 127.0.0.1:80 is the plesk default page.

Could you please explain your suggestion a bit more atomicturtle?

Thank you.

Regards,

Boris
 
Back
Top