mirror of
https://github.com/lancachenet/monolithic
synced 2025-02-18 05:48:25 +00:00
Addition of Upstream proxy from #60 to test 302 cache impact on PS5 caching Refactored upstream proxy into lancache standard structure. Simplified both location blocks into a single file rather than further delegated folders Fixed spacing & indents
17 lines
655 B
Text
17 lines
655 B
Text
# Upstream server to proxy and handle inconsistent 302 redirects
|
|
# All cache traffic is passed through this proxy to allow rewriting of redirects without caching
|
|
|
|
# This is particularly important for sony / ps5 as upstreams redirect between them which confuses slice map on caching
|
|
|
|
server {
|
|
|
|
# Internal bind on 3128, this should not be externally mapped
|
|
listen localhost:3128 reuseport;
|
|
|
|
# No access_log tracking as all requests to this instance are already logged through monolithic
|
|
|
|
# access_log /data/logs/upstream-access.log cachelog;
|
|
error_log /data/logs/upstream-error.log;
|
|
|
|
include /etc/nginx/sites-available/upstream.conf.d/*.conf;
|
|
}
|