FreeBSD Bugzilla – Attachment 210649 Details for
Bug 226626
[request] addition of rsync service to pkg.freebsd.org servers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
nginx-pkg-mirror.conf
nginx-pkg-mirror.conf (text/plain), 1.46 KB, created by
marek
on 2020-01-12 04:21:14 UTC
(
hide
)
Description:
nginx-pkg-mirror.conf
Filename:
MIME Type:
Creator:
marek
Created:
2020-01-12 04:21:14 UTC
Size:
1.46 KB
patch
obsolete
>http { > >... > > >proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=pkg_cache:32m max_size=128g > inactive=72h use_temp_path=off; > >log_format proxy_log '$remote_addr - $remote_user [$time_local] $upstream_cache_status ' > '"$request" $status $bytes_sent ' > '"$http_referer" "$http_user_agent"'; > server { > listen 80; > server_name pkg-mirror.domain.com; > > access_log /var/log/nginx/pkg-mirror.domain.com-access.log proxy_log; > error_log /var/log/nginx/pkg-mirror.domain.com-error.log; > > root /usr/local/www/pkg-mirror; > > location / { > proxy_cache pkg_cache; > proxy_pass http://pkg.freebsd.org/; # note the trailing slash! > > proxy_cache_revalidate on; > proxy_cache_min_uses 1; > proxy_cache_lock on; > > proxy_ignore_headers Expires Cache-Control; > proxy_cache_valid 200 302 24h; > proxy_cache_valid 301 10m; > proxy_cache_valid 404 1m; > } > > # The repository catalog should be a cache for a short time to avoid repo inconsistency > location ~ /(digests|meta|packagesite)\.txz$ { > > proxy_cache pkg_cache; > proxy_pass http://pkg.freebsd.org; # note the trailing slash! > > proxy_cache_revalidate on; > proxy_cache_min_uses 1; > proxy_cache_lock on; > > proxy_ignore_headers Expires Cache-Control; > proxy_cache_valid 200 302 1m; > proxy_cache_valid 301 1m; > proxy_cache_valid 404 1m; > } > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 226626
: 210649