
Enviado em 13/07/2020 - 11:40h
Bom dia!<VirtualHost *:443>
ServerName www.example.br
ServerAdmin webmaster@example.br
DocumentRoot /var/www/html/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCACertificateFile /etc/ssl/certs/PSign_TrustCenter_Root_CA-I.pem
SSLCertificateKeyFile /etc/ssl/private/server.key
SSLCertificateFile /etc/ssl/private/server.crt
<IfModule maxminddb_module>
MaxMindDBEnable On
MaxMindDBFile CITY_DB /usr/share/GeoIP/GeoLite2-City.mmdb
MaxMindDBFile COUNTRY_DB /usr/share/GeoIP/GeoLite2-Country.mmdb
MaxMindDBEnv MM_CONTINENT_CODE COUNTRY_DB/continent/code
MaxMindDBEnv MM_CONTINENT_NAME COUNTRY_DB/continent/names/en
MaxMindDBEnv MM_COUNTRY_CODE COUNTRY_DB/country/iso_code
MaxMindDBEnv MM_COUNTRY_NAME COUNTRY_DB/country/names/en
#SetEnvIf MM_COUNTRY_CODE ^(CN|EU) BlockCountry
SetEnvIf MM_COUNTRY_CODE ^(CN|RU|UA|AL) BlockCountry
<Location />
<RequireAll>
Require all granted
Require not env BlockCountry
</RequireAll>
</Location>
</IfModule>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; nosniff; SAMEORIGIN"
</IfModule>
# netdata
RewriteEngine on
ProxyRequests Off
<proxy>
Order deny,allow
Allow from all
</proxy>
ProxyPass "/netdata/" "http://192.168.80.4:19999/" connectiontimeout=5 timeout=30
ProxyPassReverse "/netdata/" "http://192.168.80.4:19999/"
<location /netdata/>
AuthType Basic
AuthName "Netdata User Access Required"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
Order deny,allow
Allow from all
</location>
# awstats
Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats/ /usr/lib/cgi-bin/
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
<Directory "/usr/lib/cgi-bin/">
<Files awstats.pl>
AuthUserFile /etc/apache2/.htpasswd
AuthName "Awstats login"
AuthType Basic
Require valid-user
</Files>
</Directory>
</VirtualHost>
LazyDocker – Interface de Usuário em Tempo Real para o Docker
Instalando COSMIC no Linux Mint
Turbinando o Linux Mint: o poder das Nemo Actions
Inteligência Artificial no desenvolvimento de software: quando começar a usar?
O widget do Plasma 6 Área de Notificação
[Resolvido] Algo deu errado ao abrir seu perfil
Quando vocês pararam de testar distros? (14)
Problema com som no laptop (3)
Não estou conseguindo fazer funcionar meu Postfix na versão 2.4 no Deb... (2)









