Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docker/prod/federator/federator.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
</Directory>

#LogLevel info
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
LogFormat "%a %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" sed_web
CustomLog ${APACHE_LOG_DIR}/access_federator.log sed_web
ErrorLog ${APACHE_LOG_DIR}/error_federator.log

</VirtualHost>
9 changes: 7 additions & 2 deletions docker/prod/proxy/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ Listen 8002
# modules, e.g.
#LogLevel info ssl:warn

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
LogFormat "%a %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" sed_web
CustomLog ${APACHE_LOG_DIR}/access_federator-proxy.log sed_web
ErrorLog ${APACHE_LOG_DIR}/error_federator-proxy.log

# Stopping the thundering herd up to 60 sec.
# i.e. if an identical request triggers a cache miss, this request is halted
Expand Down Expand Up @@ -74,6 +75,10 @@ Listen 8002
# Header processor
<VirtualHost *:8002>

LogFormat "%a %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" sed_web
CustomLog ${APACHE_LOG_DIR}/access_federator-proxy-station-cachemiss.log sed_web
ErrorLog ${APACHE_LOG_DIR}/error_federator-proxy-station-cachemiss.log

# Fix the Cache-Control header.
Header merge Cache-Control public
# The max-age is a pain. We have to set one if it's not set, and we have to
Expand Down