Files
harheimertc/apache-config.conf
2025-10-21 09:06:07 +02:00

21 lines
736 B
Plaintext

# Harheimer TC Website - HTTP VirtualHost
# Speichern unter: /etc/apache2/sites-available/harheimertc.tsschulz.de.conf
<VirtualHost *:80>
ServerName harheimertc.tsschulz.de
ServerAdmin admin@tsschulz.de
ErrorLog ${APACHE_LOG_DIR}/harheimertc-error.log
CustomLog ${APACHE_LOG_DIR}/harheimertc-access.log combined
# Proxy alle Anfragen an Nuxt Server (Port 3100)
ProxyPreserveHost On
ProxyPass / http://localhost:3100/
ProxyPassReverse / http://localhost:3100/
# Redirect zu HTTPS (optional - kann später aktiviert werden)
# RewriteEngine On
# RewriteCond %{SERVER_NAME} =harheimertc.tsschulz.de
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>