myip.dn42/apache2-config/myip.dn42.conf
Marek Küthe 69eabb70b8
create api, site and add security improvements to apache config
Signed-off-by: Marek Küthe <m.k@mk16.de>
2022-09-14 20:23:48 +02:00

37 lines
966 B
Text

# or potentially use anycast 172.22.0.81 if approved
<VirtualHost 172.22.125.30:80>
ServerName myip.dn42
ServerAlias v4.myip.dn42
ServerAlias 172.22.125.30
DocumentRoot /var/www/myip.dn42/
<Directory /var/www/myip.dn42/>
Options -Indexes
AllowOverride None
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error-myip.dn42.log
ServerSignature On
ServerTokens Major
</VirtualHost>
# or potentially use anycast [fd42:d42:d42:81::1] if approved
<VirtualHost [fd63:5d40:47e5::1111]:80>
ServerName myip.dn42
ServerAlias v6.myip.dn42
ServerAlias fd63:5d40:47e5::1111
DocumentRoot /var/www/myip.dn42/
<Directory /var/www/myip.dn42/>
Options -Indexes
AllowOverride None
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error-myip.dn42.log
ServerSignature On
ServerTokens Major
</VirtualHost>