/
new-apache
/
sites-enabled
/
Upload File
HOME
<IfModule mod_ssl.c> <VirtualHost *:443> 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] SSLCertificateFile /etc/letsencrypt/live/container2.subscriptionflow.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/container2.subscriptionflow.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf </VirtualHost> </IfModule>