Hi For example, I created a subdomain: pos.mysistem.com I wish that when I click on the link pos.mysistem.com the connection (in the background) is redirected to: http://system-post.com:3050 (another server) but keeping the main url pos.mysistem.com Can it be done from the ispconfig website? or should I do it through direct .conf Debian 12 ispconfig 3.2.12p1
You can do this directly within ISPConfig by putting your proxy rules into the Apache directives field of the website. To to this, you must create pos.mysistem.com either as website or vhost subdomain.
Code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} SSLProxyEngine on SSLProxyCheckPeerCN Off SSLProxyCheckPeerName Off RequestHeader set Front-End-Https "On" ProxyPreserveHost On ProxyRequests Off ProxyPass /.well-known/ ! ProxyPass / https://system-post.com:3050/ ProxyPassReverse / https://system-post.com:3050/ <Proxy *> Order deny,allow Allow from all </Proxy>