review default vhost

This commit is contained in:
Gregory Colpart 2017-09-07 01:20:12 +02:00
parent be4e811c47
commit 26b76aed17
2 changed files with 7 additions and 7 deletions

View file

@ -67,6 +67,8 @@
DocumentRoot /var/www/
# We override these 2 Directory directives setted in apache2.conf.
# We want no access except from allowed IP address.
<Directory />
Include /etc/apache2/ipaddr_whitelist.conf
</Directory>
@ -80,12 +82,6 @@
SSLCertificateFile {{ apache_evolinux_default_ssl_cert }}
SSLCertificateKeyFile {{ apache_evolinux_default_ssl_key }}
# We override these 2 Directory directives setted in apache2.conf.
# We want no access except from allowed IP address.
<Directory />
Include /etc/apache2/ipaddr_whitelist.conf
</Directory>
# Munin. We need to set Directory directive as Alias take precedence.
Alias /munin /var/cache/munin/www
<Directory /var/cache/munin/>

View file

@ -58,12 +58,16 @@
<ul id="evolinks">
<li><a href="/munin/{{ ansible_domain }}/{{ ansible_fqdn }}/">Stats système</a></li>
<!-- <li><a href="/server-status">Server Status</a></li> -->
<li><a href="/server-status">Server Status</a></li>
<!-- <li><a href="/phpmyadmin-__PHPMYADMIN_SUFFIX__/">Accès PhpMyAdmin</a></li> -->
<!-- <li><a href="/mysqlreport.html">Dernier rapport MySQL Tuner</a></li> -->
<!-- <li><a href="/cgi-bin/awstats.pl">Stats web</a></li> -->
<!-- <li><a href="/info.php">Infos PHP</a></li> -->
<!-- <li><a href="/opcache.php">Infos OpCache PHP</a></li> -->
<!-- BEGIN evoadmin-web section -->
<!-- END evoadmin-web section -->
<!-- BEGIN evoadmin-mail section -->
<!-- END evoadmin-mail section -->
</ul>
<p class="footer">