Drop HTTPS vhost for jumpers subdomain; serve plain HTTP
Build and Push Docker Image / build (push) Successful in 7s
Build and Push Docker Image / build (push) Successful in 7s
The :443 vhost referenced cert files that don't exist on the host, so Apache failed to start (AH00526). Revert the subdomain to HTTP-only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -37,32 +37,12 @@
|
|||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
# Subdomain: jumpers.stormcloudhills.com -> /uploads/scj
|
# Subdomain: jumpers.stormcloudhills.com -> /uploads/scj
|
||||||
# HTTP: redirect everything to HTTPS
|
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName jumpers.stormcloudhills.com
|
ServerName jumpers.stormcloudhills.com
|
||||||
ServerAdmin webmaster@alwisp.net
|
ServerAdmin webmaster@alwisp.net
|
||||||
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteRule ^/?(.*)$ https://jumpers.stormcloudhills.com/$1 [R=301,L]
|
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/jumpers-error.log
|
|
||||||
CustomLog ${APACHE_LOG_DIR}/jumpers-access.log combined
|
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
# HTTPS
|
|
||||||
<IfModule mod_ssl.c>
|
|
||||||
<VirtualHost *:443>
|
|
||||||
ServerName jumpers.stormcloudhills.com
|
|
||||||
ServerAdmin webmaster@alwisp.net
|
|
||||||
DocumentRoot /var/www/html/uploads/scj
|
DocumentRoot /var/www/html/uploads/scj
|
||||||
DirectoryIndex index.html
|
DirectoryIndex index.html
|
||||||
|
|
||||||
SSLEngine on
|
|
||||||
SSLCertificateFile /etc/apache2/ssl/jumpers.stormcloudhills.com.crt
|
|
||||||
SSLCertificateKeyFile /etc/apache2/ssl/jumpers.stormcloudhills.com.key
|
|
||||||
# If your provider gives a separate CA chain/bundle, uncomment:
|
|
||||||
#SSLCertificateChainFile /etc/apache2/ssl/jumpers.stormcloudhills.com.chain.crt
|
|
||||||
|
|
||||||
<Directory /var/www/html/uploads/scj>
|
<Directory /var/www/html/uploads/scj>
|
||||||
Options -Indexes +FollowSymLinks
|
Options -Indexes +FollowSymLinks
|
||||||
AllowOverride All
|
AllowOverride All
|
||||||
@@ -70,7 +50,6 @@
|
|||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
# Security headers
|
# Security headers
|
||||||
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
|
|
||||||
Header always set X-Frame-Options "SAMEORIGIN"
|
Header always set X-Frame-Options "SAMEORIGIN"
|
||||||
Header always set X-Content-Type-Options "nosniff"
|
Header always set X-Content-Type-Options "nosniff"
|
||||||
Header always set X-XSS-Protection "1; mode=block"
|
Header always set X-XSS-Protection "1; mode=block"
|
||||||
@@ -92,7 +71,6 @@
|
|||||||
ExpiresByType application/javascript "access plus 1 week"
|
ExpiresByType application/javascript "access plus 1 week"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/jumpers-ssl-error.log
|
ErrorLog ${APACHE_LOG_DIR}/jumpers-error.log
|
||||||
CustomLog ${APACHE_LOG_DIR}/jumpers-ssl-access.log combined
|
CustomLog ${APACHE_LOG_DIR}/jumpers-access.log combined
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user