apache/conf/httpd.conf
This commit is contained in:
parent
e3eb5d0468
commit
e57b4d1934
@ -552,14 +552,15 @@ SSLRandomSeed connect builtin
|
||||
|
||||
##########CUSTOM#################
|
||||
|
||||
ServerName scas.clienti.local
|
||||
ServerName docker03.applico.poloinformatico.it
|
||||
Listen 80
|
||||
Listen 443
|
||||
|
||||
# Load necessary modules
|
||||
LoadModule proxy_module modules/mod_proxy.so
|
||||
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
|
||||
|
||||
LoadModule proxy_http_module modules/mod_proxy_http.so
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
|
||||
<IfModule brotli_module>
|
||||
# Compress text, HTML, JavaScript, CSS, XML
|
||||
@ -580,46 +581,37 @@ LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
|
||||
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|zip|gz|exe|mp4|avi|mov)$ no-brotli
|
||||
|
||||
# Brotli compression level (0-11, 11 being the highest compression)
|
||||
BrotliCompressionQuality 6
|
||||
BrotliCompressionQuality 8
|
||||
</IfModule>
|
||||
|
||||
#HTTP2
|
||||
Protocols h2 http/1.1
|
||||
MaxConnectionsPerChild 10000
|
||||
|
||||
# Proxy configuration
|
||||
<VirtualHost *:80>
|
||||
#CERVINO
|
||||
<VirtualHost *:443>
|
||||
ServerAdmin admin@poloinformatico.it
|
||||
ServerName cervino.poloinformatico.it
|
||||
|
||||
ProxyRequests Off
|
||||
ProxyPass / ajp://localhost:8009/
|
||||
ProxyPassReverse / ajp://localhost:8009/
|
||||
SSLEngine on
|
||||
SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
|
||||
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+SSLv2:+EXP
|
||||
SSLCertificateFile /usr/local/apache2/conf/ssl/poloinformatico.it.crt
|
||||
SSLCertificateKeyFile /usr/local/apache2/conf/ssl/poloinformatico.it.key
|
||||
SSLCertificateChainFile /usr/local/apache2/conf/ssl/poloinformatico.it.ca-bundle.crt
|
||||
|
||||
|
||||
#Redirect permanent / https://adhocdemo.poloinformatico.it/
|
||||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
ProxyTimeout 900
|
||||
|
||||
# Enable rewrite engine and add redirect
|
||||
RewriteEngine On
|
||||
RewriteRule ^/$ /ahrw [R=301,L]
|
||||
|
||||
<Location />
|
||||
ProxyPass ajp://127.0.0.1:2009/
|
||||
ProxyPassReverse ajp://127.0.0.1:2009/
|
||||
</Location>
|
||||
</VirtualHost>
|
||||
|
||||
#<VirtualHost *:443>
|
||||
# UseCanonicalName Off
|
||||
# ServerAdmin "admin@poloinformatico.it"
|
||||
|
||||
#RedirectMatch 301 ^/$ /ahi/
|
||||
|
||||
# Serve index.html for root requests
|
||||
#DocumentRoot /usr/local/apache2/htdocs
|
||||
#<Directory "/usr/local/apache2/htdocs">
|
||||
# Options Indexes FollowSymLinks
|
||||
# AllowOverride None
|
||||
# Require all granted
|
||||
#</Directory>
|
||||
|
||||
# ProxyRequests Off
|
||||
# ProxyPass / ajp://localhost:8009/
|
||||
# ProxyPassReverse / ajp://localhost:8009/
|
||||
|
||||
# SSLEngine on
|
||||
# SSLProtocol all -SSLv2
|
||||
# SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
|
||||
# SSLCertificateFile /usr/local/apache2/conf/ssl/poloinformatico.it.crt
|
||||
# SSLCertificateKeyFile /usr/local/apache2/conf/ssl/poloinformatico.it.key
|
||||
# SSLCACertificateFile /usr/local/apache2/conf/ssl/poloinformatico.it.ca-bundle.crt
|
||||
#</VirtualHost>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user