|
|
@@ -153,13 +153,9 @@ ServerAdmin EMAIL |
|
|
|
</VirtualHost> |
|
|
|
|
|
|
|
<VirtualHost *:443> |
|
|
|
ServerName FQDN |
|
|
|
ServerName FQDN |
|
|
|
ServerAlias www.FQDN |
|
|
|
|
|
|
|
Redirect / https://www.FQDN/ |
|
|
|
</VirtualHost> |
|
|
|
|
|
|
|
<VirtualHost *:443> |
|
|
|
ServerName www.FQDN |
|
|
|
ProxyPass /api/ http://backend:8000/api/ |
|
|
|
ProxyPassReverse /api/ http://backend:8000/api/ |
|
|
|
ProxyPass / http://frontend/ |
|
|
@@ -167,4 +163,4 @@ ServerAdmin EMAIL |
|
|
|
SSLEngine on |
|
|
|
SSLCertificateFile "/usr/local/apache2/conf/CRT_PATH" |
|
|
|
SSLCertificateKeyFile "/usr/local/apache2/conf/KEY_PATH" |
|
|
|
</VirtualHost> |
|
|
|
</VirtualHost> |