fixed some domain issues
All checks were successful
Deploy SingleChat / deploy (push) Successful in 24s
All checks were successful
Deploy SingleChat / deploy (push) Successful in 24s
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
<IfModule mod_ssl.c>
|
||||
# 1) Apex-Domain (ypchat.net) liefert NUR Redirect auf www
|
||||
# 1) www-Domain liefert NUR Redirect auf Apex
|
||||
<VirtualHost *:443>
|
||||
ServerName ypchat.net
|
||||
ServerName www.ypchat.net
|
||||
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/ypchat.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/ypchat.net/privkey.pem
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule ^ https://www.ypchat.net%{REQUEST_URI} [R=301,L]
|
||||
RewriteRule ^ https://ypchat.net%{REQUEST_URI} [R=301,L]
|
||||
</VirtualHost>
|
||||
|
||||
# 2) Canonical Host (www.ypchat.net) liefert die App
|
||||
# 2) Canonical Host (ypchat.net) liefert die App
|
||||
<VirtualHost *:443>
|
||||
ServerName www.ypchat.net
|
||||
ServerName ypchat.net
|
||||
|
||||
# SSL-Konfiguration
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
|
||||
Reference in New Issue
Block a user