2026-02-28 21:39:21 +00:00
|
|
|
<VirtualHost *:80>
|
2026-06-30 11:11:16 -05:00
|
|
|
ServerName www.alwisp.net
|
|
|
|
|
ServerAlias alwisp.net
|
2026-02-28 21:39:21 +00:00
|
|
|
ServerAdmin webmaster@alwisp.net
|
|
|
|
|
DocumentRoot /var/www/html
|
|
|
|
|
|
|
|
|
|
<Directory /var/www/html>
|
|
|
|
|
Options -Indexes +FollowSymLinks
|
|
|
|
|
AllowOverride All
|
|
|
|
|
Require all granted
|
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
|
|
# Security headers
|
|
|
|
|
Header always set X-Frame-Options "SAMEORIGIN"
|
|
|
|
|
Header always set X-Content-Type-Options "nosniff"
|
|
|
|
|
Header always set X-XSS-Protection "1; mode=block"
|
|
|
|
|
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
|
|
|
|
|
|
|
|
|
# Compression
|
|
|
|
|
<IfModule mod_deflate.c>
|
|
|
|
|
AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/json
|
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
|
|
# Cache static assets
|
|
|
|
|
<IfModule mod_expires.c>
|
|
|
|
|
ExpiresActive On
|
|
|
|
|
ExpiresByType image/jpeg "access plus 1 month"
|
|
|
|
|
ExpiresByType image/png "access plus 1 month"
|
|
|
|
|
ExpiresByType image/webp "access plus 1 month"
|
|
|
|
|
ExpiresByType image/svg+xml "access plus 1 month"
|
|
|
|
|
ExpiresByType text/css "access plus 1 week"
|
|
|
|
|
ExpiresByType application/javascript "access plus 1 week"
|
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
|
</VirtualHost>
|
2026-06-30 11:11:16 -05:00
|
|
|
|
|
|
|
|
# Subdomain: jumpers.stormcloudhills.com -> /uploads/scj
|
|
|
|
|
<VirtualHost *:80>
|
|
|
|
|
ServerName jumpers.stormcloudhills.com
|
|
|
|
|
ServerAdmin webmaster@alwisp.net
|
|
|
|
|
DocumentRoot /var/www/html/uploads/scj
|
|
|
|
|
DirectoryIndex index.html
|
|
|
|
|
|
|
|
|
|
<Directory /var/www/html/uploads/scj>
|
|
|
|
|
Options -Indexes +FollowSymLinks
|
|
|
|
|
AllowOverride All
|
|
|
|
|
Require all granted
|
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
|
|
# Security headers
|
|
|
|
|
Header always set X-Frame-Options "SAMEORIGIN"
|
|
|
|
|
Header always set X-Content-Type-Options "nosniff"
|
|
|
|
|
Header always set X-XSS-Protection "1; mode=block"
|
|
|
|
|
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
|
|
|
|
|
|
|
|
|
# Compression
|
|
|
|
|
<IfModule mod_deflate.c>
|
|
|
|
|
AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/json
|
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
|
|
# Cache static assets
|
|
|
|
|
<IfModule mod_expires.c>
|
|
|
|
|
ExpiresActive On
|
|
|
|
|
ExpiresByType image/jpeg "access plus 1 month"
|
|
|
|
|
ExpiresByType image/png "access plus 1 month"
|
|
|
|
|
ExpiresByType image/webp "access plus 1 month"
|
|
|
|
|
ExpiresByType image/svg+xml "access plus 1 month"
|
|
|
|
|
ExpiresByType text/css "access plus 1 week"
|
|
|
|
|
ExpiresByType application/javascript "access plus 1 week"
|
|
|
|
|
</IfModule>
|
|
|
|
|
|
2026-06-30 11:15:46 -05:00
|
|
|
ErrorLog ${APACHE_LOG_DIR}/jumpers-error.log
|
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/jumpers-access.log combined
|
2026-06-30 11:11:16 -05:00
|
|
|
</VirtualHost>
|