• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Remote reverse proxy

ddavo

New Pleskian
I want to enable a reverse proxy that connects to another server, but I can't make it work. When I connect to "example.org", I get the default "this site doesn't exist" page

Code:
server {
  listen 80;
  server_name example.org;

  location ~ / {
    proxy_pass http://192.168.3.14:80;
    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-Host $server_name;
  }
}
 
Back
Top