EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit cae1e286 authored by Karl Grube's avatar Karl Grube
Browse files

commented out stdout so that it works...

parent 6a51da34
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,12 @@ log_format pypi_cache '$remote_addr - $host [$time_local] '
'request_time=$request_time upstream_time=$upstream_response_time '
'cache_status=$upstream_cache_status \t'
'$status "$request" $body_bytes_sent';
access_log /dev/stdout pypi_cache buffer=64k flush=1s;
#access_log /dev/stdout pypi_cache buffer=64k flush=1s;
# Log to file, can be useful for dev
# access_log /var/log/nginx/cache.log pypi_cache buffer=64k flush=1s;
# Cache 50G worth of packages for up to 1 month
proxy_cache_path /var/lib/nginx/pypi levels=1:2 keys_zone=pypi:16m inactive=1M max_size=50G use_temp_path=off;
proxy_cache_path /var/www/pypi levels=1:2 keys_zone=pypi:16m inactive=1M max_size=50G use_temp_path=off;
# Having the same upstream server listed twice allegedly forces nginx to retry
# connections and not fail the request immediately.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment