mirror of
https://git.dn42.dev/lare/myip.dn42.git
synced 2024-10-24 03:11:33 +02:00
create api, site and add security improvements to apache config
Signed-off-by: Marek Küthe <m.k@mk16.de>
This commit is contained in:
parent
01af21f510
commit
69eabb70b8
9 changed files with 454 additions and 8 deletions
|
@ -5,12 +5,16 @@
|
|||
ServerAlias v4.myip.dn42
|
||||
ServerAlias 172.22.125.30
|
||||
|
||||
DocumentRoot /path/to/wwwroot/
|
||||
|
||||
DocumentRoot /var/www/myip.dn42/
|
||||
<Directory /var/www/myip.dn42/>
|
||||
Options -Indexes
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error-myip.dn42.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access-myip.dn42.log combined
|
||||
|
||||
ServerSignature On
|
||||
ServerTokens Major
|
||||
</VirtualHost>
|
||||
|
||||
# or potentially use anycast [fd42:d42:d42:81::1] if approved
|
||||
|
@ -19,11 +23,15 @@
|
|||
ServerAlias v6.myip.dn42
|
||||
ServerAlias fd63:5d40:47e5::1111
|
||||
|
||||
DocumentRoot /path/to/wwwroot/
|
||||
|
||||
DocumentRoot /var/www/myip.dn42/
|
||||
<Directory /var/www/myip.dn42/>
|
||||
Options -Indexes
|
||||
AllowOverride None
|
||||
</Directory>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error-myip.dn42.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access-myip.dn42.log combined
|
||||
|
||||
ServerSignature On
|
||||
ServerTokens Major
|
||||
</VirtualHost>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue