fixed some domain issues
All checks were successful
Deploy SingleChat / deploy (push) Successful in 24s

This commit is contained in:
Torsten Schulz (local)
2026-06-16 12:47:58 +02:00
parent e279215b85
commit 8c9a600645
13 changed files with 61 additions and 42 deletions

View File

@@ -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