|
...
|
...
|
@@ -476,6 +476,11 @@ $listen_string
|
|
476
|
476
|
ProxyPass http://$b_host:$b_port/ retry=5 nocanon
|
|
477
|
477
|
ProxyPassReverse http://$b_host:$b_port/
|
|
478
|
478
|
</Location>
|
|
|
479
|
+ ErrorLog $APACHE_LOG_DIR/tls-proxy_error.log
|
|
|
480
|
+ ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] [frontend\ %A] %M% ,\ referer\ %{Referer}i"
|
|
|
481
|
+ LogLevel info
|
|
|
482
|
+ CustomLog $APACHE_LOG_DIR/tls-proxy_access.log common
|
|
|
483
|
+ LogFormat "%v %h %l %u %t \"%r\" %>s %b"
|
|
479
|
484
|
</VirtualHost>
|
|
480
|
485
|
EOF
|
|
481
|
486
|
for mod in ssl proxy proxy_http; do
|