WS
Size: a a a
WS
WS
AR
A
WS
L
DS
<VirtualHost 0.0.0.0:{{ ws.port }}>и вот такое на первый старт:
ServerName {{ ws.domain }}
...
# If httpd launched without ssl (first time to get LetsEncrypt certificates), disable SSL and application as well
<IfDefine !letsencrypt_not_set>
SSLCertificateFile /etc/letsencrypt/live/{{ ws.domain }}/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/{{ ws.domain }}/privkey.pem
# chicken-egg problem, options-ssl-apache.conf will not appear if we do not start
IncludeOptional /etc/letsencrypt/options-ssl-apache.conf
...
</IfDefine>
</VirtualHost>
echo 'Define letsencrypt_not_set 1' > /etc/httpd/conf.modules.d/letsencrypt_not_set.confзатем, когда появился файл сертификата,
/bin/rm -vf /etc/httpd/conf.modules.d/letsencrypt_not_set.conf(Это не ansible, так что не надо про bashsible. На ansible сами переделаете.)
D
<VirtualHost 0.0.0.0:{{ ws.port }}>и вот такое на первый старт:
ServerName {{ ws.domain }}
...
# If httpd launched without ssl (first time to get LetsEncrypt certificates), disable SSL and application as well
<IfDefine !letsencrypt_not_set>
SSLCertificateFile /etc/letsencrypt/live/{{ ws.domain }}/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/{{ ws.domain }}/privkey.pem
# chicken-egg problem, options-ssl-apache.conf will not appear if we do not start
IncludeOptional /etc/letsencrypt/options-ssl-apache.conf
...
</IfDefine>
</VirtualHost>
echo 'Define letsencrypt_not_set 1' > /etc/httpd/conf.modules.d/letsencrypt_not_set.confзатем, когда появился файл сертификата,
/bin/rm -vf /etc/httpd/conf.modules.d/letsencrypt_not_set.conf(Это не ansible, так что не надо про bashsible. На ansible сами переделаете.)
DS
D
D
DS
D
D
VC
D
VC
VC
D