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,12 +1,11 @@
|
||||
<IfModule mod_ssl.c>
|
||||
<VirtualHost *:443>
|
||||
ServerName ypchat.net
|
||||
ServerAlias www.ypchat.net
|
||||
|
||||
# SSL-Konfiguration
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/www.ypchat.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/www.ypchat.net/privkey.pem
|
||||
SSLCertificateFile /etc/letsencrypt/live/ypchat.net/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/ypchat.net/privkey.pem
|
||||
|
||||
# DocumentRoot (nur für statische Dateien wie ads.txt)
|
||||
DocumentRoot /opt/ypchat/docroot
|
||||
@@ -64,5 +63,15 @@
|
||||
RequestHeader set X-Forwarded-Proto "https"
|
||||
RequestHeader set X-Forwarded-Port "443"
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
||||
<VirtualHost *:443>
|
||||
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://ypchat.net%{REQUEST_URI} [R=301,L]
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
|
||||
Reference in New Issue
Block a user