Merge "mirror: rename 80/443 log files"
This commit is contained in:
commit
a12de2104e
@ -13,7 +13,7 @@ NameVirtualHost *:8082
|
||||
|
||||
LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-agent}i\"" combined-cache
|
||||
|
||||
<Macro BaseProxy $port>
|
||||
<Macro BaseMirror $port>
|
||||
|
||||
DocumentRoot /var/www/mirror
|
||||
<Directory /var/www/mirror>
|
||||
@ -101,9 +101,9 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a
|
||||
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_URI} !-d
|
||||
RewriteRule (.*)-(.*) $1.$2 [N]
|
||||
|
||||
ErrorLog /var/log/apache2/proxy_$port_error.log
|
||||
ErrorLog /var/log/apache2/mirror_$port_error.log
|
||||
LogLevel warn
|
||||
CustomLog /var/log/apache2/proxy_$port_access.log combined-cache
|
||||
CustomLog /var/log/apache2/mirror_$port_access.log combined-cache
|
||||
ServerSignature Off
|
||||
|
||||
</Macro>
|
||||
@ -112,7 +112,7 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a
|
||||
ServerName {{ apache_server_name }}
|
||||
ServerAlias {{ apache_server_alias }}
|
||||
|
||||
Use BaseProxy 80
|
||||
Use BaseMirror 80
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:443>
|
||||
@ -127,7 +127,7 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a
|
||||
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:!AES256:!aNULL:!eNULL:!MD5:!DSS:!PSK:!SRP
|
||||
SSLHonorCipherOrder on
|
||||
|
||||
Use BaseProxy 443
|
||||
Use BaseMirror 443
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:8080>
|
||||
|
Loading…
x
Reference in New Issue
Block a user