This commit is contained in:
parent
61e8bd63f8
commit
64f596e447
1 changed files with 11 additions and 11 deletions
|
@ -1,19 +1,19 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80 *:443>
|
||||||
ServerName nycki.net
|
ServerName nycki.net
|
||||||
ServerAlias nycki.blokus.hatspace.net
|
ServerAlias nycki.blokus.hatspace.net
|
||||||
# SSLEngine on
|
SSLEngine on
|
||||||
# Include /etc/letsencrypt/options-ssl-apache.conf
|
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||||
# SSLCertificateFile /etc/letsencrypt/live/klay.gay/fullchain.pem
|
SSLCertificateFile /etc/letsencrypt/live/nycki.net/fullchain.pem
|
||||||
# SSLCertificateKeyFile /etc/letsencrypt/live/klay.gay/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/nycki.net/privkey.pem
|
||||||
|
|
||||||
# https://palmure.fr/blog.html#default-https-but-only-for-recent-browsers
|
# https://palmure.fr/blog.html#default-https-but-only-for-recent-browsers
|
||||||
#Header always add Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload;"
|
#Header always add Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload;"
|
||||||
#<If "%{HTTPS} == 'off'">
|
# <If "%{HTTPS} == 'off'">
|
||||||
# <If "%{HTTP:Upgrade-Insecure-Requests} == 1">
|
# <If "%{HTTP:Upgrade-Insecure-Requests} == 1">
|
||||||
# Header always add Vary: Upgrade-Insecure-Requests
|
# Header always add Vary: Upgrade-Insecure-Requests
|
||||||
# Redirect / https://nycki.net
|
# Redirect / https://nycki.net/
|
||||||
# </If>
|
# </If>
|
||||||
#</If>
|
# </If>
|
||||||
|
|
||||||
DocumentRoot /data/nycki.net/site
|
DocumentRoot /data/nycki.net/site
|
||||||
#DirectoryIndex index.html
|
#DirectoryIndex index.html
|
||||||
|
|
Loading…
Reference in a new issue