libravatar: add virthost for cdn.libravatar.org
This commit is contained in:
parent
7cd6f3737f
commit
7569facfe7
1 changed files with 13 additions and 0 deletions
|
@ -17,6 +17,19 @@ RewriteEngine on
|
||||||
RewriteRule "^/?(.*)" "https://%{HTTP_HOST}/$1" [L,R=301,NE]
|
RewriteRule "^/?(.*)" "https://%{HTTP_HOST}/$1" [L,R=301,NE]
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
<VirtualHost *:443>
|
||||||
|
ServerName cdn.libravatar.org
|
||||||
|
|
||||||
|
SSLCertificateFile /etc/letsencrypt/live/cdn.libravatar.org/cert.pem
|
||||||
|
SSLCertificateKeyFile /etc/letsencrypt/live/cdn.libravatar.org/privkey.pem
|
||||||
|
SSLCertificateChainFile /etc/letsencrypt/live/cdn.libravatar.org/fullchain.pem
|
||||||
|
Header always add Strict-Transport-Security "max-age=31536000; preload; includeSubDomains"
|
||||||
|
|
||||||
|
RewriteRule ^/\.well-known/(.*) /var/www/html/.well-known/$1 [L]
|
||||||
|
|
||||||
|
Include /etc/httpd/conf.d/libravatar-app.include
|
||||||
|
</VirtualHost>
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
ServerName {{ server_seccdn_name }}
|
ServerName {{ server_seccdn_name }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue