Configure NGINX to listen on port 80 for IPv6
This has been the subject of some contention for some time due to the increased support work load for the lancache.net team as a result of ipv6 mis-configuration. Having discussed this we're happy to enable the support at monolithic level, but will NOT be adding this to the instructions / dns container at this time
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
This allows us to cache the response in the event a file hasn't been downloaded yet
Set to 2m as a really long time to download a single 1m slice from upstream
Based on thoughts from https://github.com/lancachenet/generic/pull/113
This commit rebases the generic code into the monolithic image
This allows the base image to be the more regularly accessed / edited image
Commits to lancachenet/generic:switcheroo will mimic this commit
Also fixeslancachenet/generic#108
Correclty disable StrictHostKeyChecking whilst we are at it!
map "$http_useragent---$http_host" $cacheidentifier {
Hostnames in maps file need to be regexs
Save the docker image into the artifacts store to allow download for testing
Need to handle *. wildcard
Use # instead of / as regex/sed seperator to provide a slightly cleaner sed line for debug
Provide comments and breakdown for sed (Requested by @GotenXiao
Changed UA/Host seperator from --- to £££ @rconan suggestion from UKLans chat
Closes#86 See github for details
All whitespace removed from host entries before handling, blank lines
are skipped
This WILL mangle comments in the map files, but is best to ensure
working files