mirror of
https://git.dn42.dev/lare/myip.dn42.git
synced 2024-10-24 03:11:33 +02:00
inital; add index.php and apache2 config
This commit is contained in:
commit
9483c68d63
3 changed files with 36 additions and 0 deletions
29
apache2-config/myip.dn42.conf
Normal file
29
apache2-config/myip.dn42.conf
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
# 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 /path/to/wwwroot/
|
||||
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error-myip.dn42.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access-myip.dn42.log combined
|
||||
|
||||
</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 /path/to/wwwroot/
|
||||
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error-myip.dn42.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access-myip.dn42.log combined
|
||||
|
||||
</VirtualHost>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue