/
new-apache
/
sites-enabled
/
Upload File
HOME
#<VirtualHost *:80> # ServerName container1.subscriptionflow.com # Redirect permanent / https://container1.subscriptionflow.com/ #RewriteEngine on #RewriteCond %{SERVER_NAME} =container1.subscriptionflow.com #RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] <VirtualHost *:80> ServerAlias container2.subscriptionflow.com ServerName container2.subscriptionflow.com Redirect permanent / https://container2.subscriptionflow.com ProxyPreserveHost On # Servers to proxy the connection, or; # List of application servers: # Usage: # ProxyPass / http://[IP Addr.]:[port]/ # ProxyPassReverse / http://[IP Addr.]:[port]/ # Example: <Proxy *> Allow from localhost </Proxy> ProxyPass / http://127.0.0.1:82/ #ProxyPassReverse / http://127.0.0.1:81 #RewriteEngine on #RewriteCond %{SERVER_NAME} =container1.subscriptionflow.com #RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] #RewriteEngine on #RewriteCond %{SERVER_NAME} =container1.subscriptionflow.com #RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>