Die rewrite rule gehört weg und in der location auf / matchen und match type leer lassen, da die VHosts mit den servernamen über verschiedene HTTP Server abgebildet werden.
From Google Translate, since I'm terrible at German :) :
QuoteThe rewrite rule belongs off and leave the location on / match and match type empty, since the VHosts are mapped with the server names via different HTTP servers.
Ok, with this advice I got one server proxy working. I'll attempt more later today. Here's what I did to make it work...
Services:
NGINX:
Configuration:
General-- Enable nginx: Checked
Services:
NGINX:
Configuration:
Upstream Server (1 Entry)
-- Description: Server1
-- Server: 192.168.xxx.zzz
-- Port: 8091 (later moved to 80, after I got it working)
-- Server Priority: 1
Services:
NGINX:
Configuration:
Upstream (1 Entry)
-- Description: com_siteb
-- Server Entries: Server1
-- Load Balancing Algo: Weighted Round Robin
-- Enable TLS:
Unchecked-- TLS: Servername override: [Blank]
-- TLS: Supported Versions: [Nothing Selected]
-- TLS: Session Reuse:
[Checked] (I think by default)-- TLS: Trusted Certificate: [Nothing Selected]
Services:
NGINX:
Configuration:
HTTP(S):
Location (1 Entry)
-- Description: com_siteb
-- URL Pattern:
/-- Match Type:
None-- URL Rewriting: [Nothing Selected]
-- Enable Security Rules: [Not Checked]
-- Learning Mode:
[Not Checked]-- Block XSS Score: [Blank]
-- Block SQL Injection Score: [Blank]
-- Custom Security Policy: [Nothing Selected]
-- Upstream Servers: com_siteb
-- Path Prefix: [Blank]
-- Cache: Directory: [none]
-- File System Room: [Blank]
-- Index File: [Blank]
-- Automatic Index: [Not Checked]
-- Basic Authentication: [Blank]
-- Basic Credentials List: [None]
-- Enable Advanced ACLs: [Unchecked]
-- IP ACL: [None]
-- Force HTTPS: [Unchecked]
-- Enable HTTP/2 Preloading: [Unchecked]
-- Pass Request To Local PHP Interpreter / Threat Upstream As FastCGI: [Unchecked]
-- (PHP) Router Script: [Blank]
Services: NGINX: Configuration: HTTP(S): HTTP Server (1 Entry)
-- HTTP Listen Port: 8091 (Later changed to 80)
-- HTTPS Listen Port: [Blank]
-- Server Name: 192.168.xxx.zzz
-- Locations: com_siteb
-- URL Rewriting: Nothing Selected
[Everything else left to defaults]
This section was completely deleted
Services: NGINX: Configuration: HTTP(S): URL Rewriting (1 Entry)
-- Short description (to display): root
-- Original URL Pattern (Regex): /
-- New URL Pattern: $1
-- Flag: RedirectAfter a restart of NGINX, It routes! Thanks, Fabian!
For the other websites it will be likely the same configuration so you can clone the existing resources and rename them / change hosts and ports.