Update 000-default-ssl.conf
This commit is contained in:
parent
bbffcac6c6
commit
7cc1661d6e
@ -1,11 +1,7 @@
|
|||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName demo-devops.konnect.dev
|
ServerName demo-devops.konnect.dev
|
||||||
|
|
||||||
ServerAdmin webmaster@localhost
|
ServerAdmin webmaster@localhost
|
||||||
|
Redirect permanent / https://demo-devops.konnect.dev
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
||||||
Redirect permanent / https://api-abana.esk.sh
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
@ -16,4 +12,17 @@
|
|||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||||
|
|
||||||
|
SSLEngine On
|
||||||
|
SSLProxyEngine On
|
||||||
|
SSLProxyCheckPeerName Off
|
||||||
|
SSLProxyCheckPeerCN Off
|
||||||
|
SSLProxyVerify none
|
||||||
|
|
||||||
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
|
SSLCertificateFile /etc/letsencrypt/live/demo-devops.konnect.dev/fullchain.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/demo-devops.konnect.dev/privkey.pem
|
||||||
|
|
||||||
|
RequestHeader set X-Forwarded-Proto https
|
||||||
|
RequestHeader set X-Forwarded-Port 443
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user