Created
January 29, 2020 15:53
-
-
Save MathewBurnett/4dc64192419ebf5fea2d85e40bd5cd58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Executing hook /hooks/entrypoint-pre.d/00_deprecation.sh | |
Executing hook /hooks/entrypoint-pre.d/10_setup.sh | |
Executing hook /hooks/entrypoint-pre.d/15_generate_maps.sh | |
HEAD is now at da85fff Only use lancache.steamcontent.com for steam | |
Reading cache arenanet from arenanet.txt | |
host: assetcdn.101.arenanetworks.com | |
new host: assetcdn.101.arenanetworks.com | |
host: assetcdn.102.arenanetworks.com | |
new host: assetcdn.102.arenanetworks.com | |
host: assetcdn.103.arenanetworks.com | |
new host: assetcdn.103.arenanetworks.com | |
host: live.patcher.bladeandsoul.com | |
new host: live.patcher.bladeandsoul.com | |
Reading cache blizzard from blizzard.txt | |
host: dist.blizzard.com | |
new host: dist.blizzard.com | |
host: dist.blizzard.com.edgesuite.net | |
new host: dist.blizzard.com.edgesuite.net | |
host: llnw.blizzard.com | |
new host: llnw.blizzard.com | |
host: edgecast.blizzard.com | |
new host: edgecast.blizzard.com | |
host: blizzard.vo.llnwd.net | |
new host: blizzard.vo.llnwd.net | |
host: blzddist1-a.akamaihd.net | |
new host: blzddist1-a.akamaihd.net | |
host: blzddist2-a.akamaihd.net | |
new host: blzddist2-a.akamaihd.net | |
host: blzddist3-a.akamaihd.net | |
new host: blzddist3-a.akamaihd.net | |
host: blzddist4-a.akamaihd.net | |
new host: blzddist4-a.akamaihd.net | |
host: level3.blizzard.com | |
new host: level3.blizzard.com | |
host: nydus.battle.net | |
new host: nydus.battle.net | |
host: edge.blizzard.top.comcast.net | |
new host: edge.blizzard.top.comcast.net | |
host: cdn.blizzard.com | |
new host: cdn.blizzard.com | |
host: *.cdn.blizzard.com | |
new host: *.cdn.blizzard.com | |
Reading cache cityofheroes from cityofheroes.txt | |
host: cdn.homecomingservers.com | |
new host: cdn.homecomingservers.com | |
Reading cache daybreak from daybreak.txt | |
host: # Daybreak games | |
new host: #Daybreakgames | |
host: # | |
new host: # | |
host: # Do NOT cache manifest.patch.daybreakgames.com | |
new host: #DoNOTcachemanifest.patch.daybreakgames.com | |
host: # | |
new host: # | |
host: #PS2 | |
new host: #PS2 | |
host: pls.patch.daybreakgames.com | |
new host: pls.patch.daybreakgames.com | |
Reading cache epicgames from epicgames.txt | |
host: epicgames-download1.akamaized.net | |
new host: epicgames-download1.akamaized.net | |
host: download.epicgames.com | |
new host: download.epicgames.com | |
host: download2.epicgames.com | |
new host: download2.epicgames.com | |
host: download3.epicgames.com | |
new host: download3.epicgames.com | |
host: download4.epicgames.com | |
new host: download4.epicgames.com | |
Reading cache frontier from frontier.txt | |
host: cdn.zaonce.net | |
new host: cdn.zaonce.net | |
Reading cache hirez from hirez.txt | |
host: hirez.http.internapcdn.net | |
new host: hirez.http.internapcdn.net | |
Reading cache nexusmods from nexusmods.txt | |
host: filedelivery.nexusmods.com | |
new host: filedelivery.nexusmods.com | |
Reading cache neverwinter from neverwinter.txt | |
host: level3.nwhttppatch.crypticstudios.com | |
new host: level3.nwhttppatch.crypticstudios.com | |
Reading cache nintendo from nintendo.txt | |
host: ccs.cdn.wup.shop.nintendo.com | |
new host: ccs.cdn.wup.shop.nintendo.com | |
host: ccs.cdn.wup.shop.nintendo.net | |
new host: ccs.cdn.wup.shop.nintendo.net | |
host: ccs.cdn.wup.shop.nintendo.net.edgesuite.net | |
new host: ccs.cdn.wup.shop.nintendo.net.edgesuite.net | |
host: geisha-wup.cdn.nintendo.net | |
new host: geisha-wup.cdn.nintendo.net | |
host: geisha-wup.cdn.nintendo.net.edgekey.net | |
new host: geisha-wup.cdn.nintendo.net.edgekey.net | |
host: idbe-wup.cdn.nintendo.net | |
new host: idbe-wup.cdn.nintendo.net | |
host: idbe-wup.cdn.nintendo.net.edgekey.net | |
new host: idbe-wup.cdn.nintendo.net.edgekey.net | |
host: ecs-lp1.hac.shop.nintendo.net | |
new host: ecs-lp1.hac.shop.nintendo.net | |
host: receive-lp1.dg.srv.nintendo.net | |
new host: receive-lp1.dg.srv.nintendo.net | |
host: *.wup.shop.nintendo.net | |
new host: *.wup.shop.nintendo.net | |
host: *.wup.eshop.nintendo.net | |
new host: *.wup.eshop.nintendo.net | |
host: *.hac.lp1.d4c.nintendo.net | |
new host: *.hac.lp1.d4c.nintendo.net | |
host: *.hac.lp1.eshop.nintendo.net | |
new host: *.hac.lp1.eshop.nintendo.net | |
Reading cache renegadex from renegadex.txt | |
host: rxp-fl.cncirc.net | |
new host: rxp-fl.cncirc.net | |
host: rxp-chi.cncirc.net | |
new host: rxp-chi.cncirc.net | |
host: rxp-nz.cncirc.net | |
new host: rxp-nz.cncirc.net | |
host: rxp-bgr.cncirc.net | |
new host: rxp-bgr.cncirc.net | |
host: rxp-fr.cncirc.net | |
new host: rxp-fr.cncirc.net | |
host: rxp-nyc.cncirc.net | |
new host: rxp-nyc.cncirc.net | |
host: rxp-uk.cncirc.net | |
new host: rxp-uk.cncirc.net | |
host: rxp-sg.cncirc.net | |
new host: rxp-sg.cncirc.net | |
host: rxp-la.cncirc.net | |
new host: rxp-la.cncirc.net | |
host: rxp-fin.cncirc.net | |
new host: rxp-fin.cncirc.net | |
host: denver1.renegade-x.com | |
new host: denver1.renegade-x.com | |
host: seattle1.renegade-x.com | |
new host: seattle1.renegade-x.com | |
Reading cache riot from riot.txt | |
host: l3cdn.riotgames.com | |
new host: l3cdn.riotgames.com | |
host: worldwide.l3cdn.riotgames.com | |
new host: worldwide.l3cdn.riotgames.com | |
host: riotgamespatcher-a.akamaihd.net | |
new host: riotgamespatcher-a.akamaihd.net | |
host: riotgamespatcher-a.akamaihd.net.edgesuite.net | |
new host: riotgamespatcher-a.akamaihd.net.edgesuite.net | |
host: *.dyn.riotcdn.net | |
new host: *.dyn.riotcdn.net | |
Reading cache rockstar from rockstar.txt | |
host: patches.rockstargames.com | |
new host: patches.rockstargames.com | |
Reading cache sony from sony.txt | |
host: pls.patch.station.sony.com | |
new host: pls.patch.station.sony.com | |
host: gs2.ww.prod.dl.playstation.net | |
new host: gs2.ww.prod.dl.playstation.net | |
host: gs2.sonycoment.loris-e.llnwd.net | |
new host: gs2.sonycoment.loris-e.llnwd.net | |
Reading cache steam from steam.txt | |
host: lancache.steamcontent.com | |
new host: lancache.steamcontent.com | |
Reading cache uplay from uplay.txt | |
host: *.cdn.ubi.com | |
new host: *.cdn.ubi.com | |
Reading cache teso from teso.txt | |
host: live.patcher.elderscrollsonline.com | |
new host: live.patcher.elderscrollsonline.com | |
Reading cache twitch from twitch.txt | |
host: d3rmjivj4k4f0t.cloudfront.net | |
new host: d3rmjivj4k4f0t.cloudfront.net | |
host: addons.forgesvc.net | |
new host: addons.forgesvc.net | |
host: media.forgecdn.net | |
new host: media.forgecdn.net | |
host: files.forgecdn.net | |
new host: files.forgecdn.net | |
Reading cache warframe from warframe.txt | |
host: content.warframe.com | |
new host: content.warframe.com | |
Reading cache wargaming from wargaming.net.txt | |
host: dl1.wargaming.net | |
new host: dl1.wargaming.net | |
host: dl2.wargaming.net | |
new host: dl2.wargaming.net | |
host: wg.gcdn.co | |
new host: wg.gcdn.co | |
host: wgusst-na.wargaming.net | |
new host: wgusst-na.wargaming.net | |
host: wgusst-eu.wargaming.net | |
new host: wgusst-eu.wargaming.net | |
host: update-v4r4h10x.worldofwarships.com | |
new host: update-v4r4h10x.worldofwarships.com | |
host: wgus-wotasia.wargaming.net | |
new host: wgus-wotasia.wargaming.net | |
host: dl-wot-ak.wargaming.net | |
new host: dl-wot-ak.wargaming.net | |
host: dl-wot-gc.wargaming.net | |
new host: dl-wot-gc.wargaming.net | |
host: dl-wot-se.wargaming.net | |
new host: dl-wot-se.wargaming.net | |
host: dl-wot-cdx.wargaming.net | |
new host: dl-wot-cdx.wargaming.net | |
host: dl-wows-ak.wargaming.net | |
new host: dl-wows-ak.wargaming.net | |
host: dl-wows-gc.wargaming.net | |
new host: dl-wows-gc.wargaming.net | |
host: dl-wows-se.wargaming.net | |
new host: dl-wows-se.wargaming.net | |
host: dl-wows-cdx.wargaming.net | |
new host: dl-wows-cdx.wargaming.net | |
host: dl-wowp-ak.wargaming.net | |
new host: dl-wowp-ak.wargaming.net | |
host: dl-wowp-gc.wargaming.net | |
new host: dl-wowp-gc.wargaming.net | |
host: dl-wowp-se.wargaming.net | |
new host: dl-wowp-se.wargaming.net | |
host: dl-wowp-cdx.wargaming.net | |
new host: dl-wowp-cdx.wargaming.net | |
Reading cache wsus from windowsupdates.txt | |
host: officecdn.microsoft.com | |
new host: officecdn.microsoft.com | |
host: *.windowsupdate.com | |
new host: *.windowsupdate.com | |
host: windowsupdate.com | |
new host: windowsupdate.com | |
host: *.dl.delivery.mp.microsoft.com | |
new host: *.dl.delivery.mp.microsoft.com | |
host: dl.delivery.mp.microsoft.com | |
new host: dl.delivery.mp.microsoft.com | |
host: *.update.microsoft.com | |
new host: *.update.microsoft.com | |
host: *.do.dsp.mp.microsoft.com | |
new host: *.do.dsp.mp.microsoft.com | |
host: *.microsoft.com.edgesuite.net | |
new host: *.microsoft.com.edgesuite.net | |
host: amupdatedl.microsoft.com | |
new host: amupdatedl.microsoft.com | |
host: amupdatedl2.microsoft.com | |
new host: amupdatedl2.microsoft.com | |
host: amupdatedl3.microsoft.com | |
new host: amupdatedl3.microsoft.com | |
host: amupdatedl4.microsoft.com | |
new host: amupdatedl4.microsoft.com | |
host: amupdatedl5.microsoft.com | |
new host: amupdatedl5.microsoft.com | |
Reading cache xboxlive from xboxlive.txt | |
host: assets1.xboxlive.com | |
new host: assets1.xboxlive.com | |
host: assets2.xboxlive.com | |
new host: assets2.xboxlive.com | |
host: dlassets.xboxlive.com | |
new host: dlassets.xboxlive.com | |
host: xboxone.loris.llnwd.net | |
new host: xboxone.loris.llnwd.net | |
host: *.xboxone.loris.llnwd.net | |
new host: *.xboxone.loris.llnwd.net | |
host: xboxone.vo.llnwd.net | |
new host: xboxone.vo.llnwd.net | |
host: xbox-mbr.xboxlive.com | |
new host: xbox-mbr.xboxlive.com | |
host: assets1.xboxlive.com.nsatc.net | |
new host: assets1.xboxlive.com.nsatc.net | |
map "$http_useragent---$http_host" $cacheidentifier { | |
default $http_host; | |
"~Valve\/Steam\ HTTP\ Client\ 1\.0---.*" steam; | |
~.*---.*?assetcdn\.101\.arenanetworks\.com arenanet; | |
~.*---.*?assetcdn\.102\.arenanetworks\.com arenanet; | |
~.*---.*?assetcdn\.103\.arenanetworks\.com arenanet; | |
~.*---.*?live\.patcher\.bladeandsoul\.com arenanet; | |
~.*---.*?dist\.blizzard\.com blizzard; | |
~.*---.*?dist\.blizzard\.com\.edgesuite\.net blizzard; | |
~.*---.*?llnw\.blizzard\.com blizzard; | |
~.*---.*?edgecast\.blizzard\.com blizzard; | |
~.*---.*?blizzard\.vo\.llnwd\.net blizzard; | |
~.*---.*?blzddist1-a\.akamaihd\.net blizzard; | |
~.*---.*?blzddist2-a\.akamaihd\.net blizzard; | |
~.*---.*?blzddist3-a\.akamaihd\.net blizzard; | |
~.*---.*?blzddist4-a\.akamaihd\.net blizzard; | |
~.*---.*?level3\.blizzard\.com blizzard; | |
~.*---.*?nydus\.battle\.net blizzard; | |
~.*---.*?edge\.blizzard\.top\.comcast\.net blizzard; | |
~.*---.*?cdn\.blizzard\.com blizzard; | |
~.*---.*?.*\.cdn\.blizzard\.com blizzard; | |
~.*---.*?cdn\.homecomingservers\.com cityofheroes; | |
~.*---.*?#Daybreakgames daybreak; | |
~.*---.*?# daybreak; | |
~.*---.*?#DoNOTcachemanifest\.patch\.daybreakgames\.com daybreak; | |
~.*---.*?# daybreak; | |
~.*---.*?#PS2 daybreak; | |
~.*---.*?pls\.patch\.daybreakgames\.com daybreak; | |
~.*---.*?epicgames-download1\.akamaized\.net epicgames; | |
~.*---.*?download\.epicgames\.com epicgames; | |
~.*---.*?download2\.epicgames\.com epicgames; | |
~.*---.*?download3\.epicgames\.com epicgames; | |
~.*---.*?download4\.epicgames\.com epicgames; | |
~.*---.*?cdn\.zaonce\.net frontier; | |
~.*---.*?hirez\.http\.internapcdn\.net hirez; | |
~.*---.*?filedelivery\.nexusmods\.com nexusmods; | |
~.*---.*?level3\.nwhttppatch\.crypticstudios\.com neverwinter; | |
~.*---.*?ccs\.cdn\.wup\.shop\.nintendo\.com nintendo; | |
~.*---.*?ccs\.cdn\.wup\.shop\.nintendo\.net nintendo; | |
~.*---.*?ccs\.cdn\.wup\.shop\.nintendo\.net\.edgesuite\.net nintendo; | |
~.*---.*?geisha-wup\.cdn\.nintendo\.net nintendo; | |
~.*---.*?geisha-wup\.cdn\.nintendo\.net\.edgekey\.net nintendo; | |
~.*---.*?idbe-wup\.cdn\.nintendo\.net nintendo; | |
~.*---.*?idbe-wup\.cdn\.nintendo\.net\.edgekey\.net nintendo; | |
~.*---.*?ecs-lp1\.hac\.shop\.nintendo\.net nintendo; | |
~.*---.*?receive-lp1\.dg\.srv\.nintendo\.net nintendo; | |
~.*---.*?.*\.wup\.shop\.nintendo\.net nintendo; | |
~.*---.*?.*\.wup\.eshop\.nintendo\.net nintendo; | |
~.*---.*?.*\.hac\.lp1\.d4c\.nintendo\.net nintendo; | |
~.*---.*?.*\.hac\.lp1\.eshop\.nintendo\.net nintendo; | |
~.*---.*?rxp-fl\.cncirc\.net renegadex; | |
~.*---.*?rxp-chi\.cncirc\.net renegadex; | |
~.*---.*?rxp-nz\.cncirc\.net renegadex; | |
~.*---.*?rxp-bgr\.cncirc\.net renegadex; | |
~.*---.*?rxp-fr\.cncirc\.net renegadex; | |
~.*---.*?rxp-nyc\.cncirc\.net renegadex; | |
~.*---.*?rxp-uk\.cncirc\.net renegadex; | |
~.*---.*?rxp-sg\.cncirc\.net renegadex; | |
~.*---.*?rxp-la\.cncirc\.net renegadex; | |
~.*---.*?rxp-fin\.cncirc\.net renegadex; | |
~.*---.*?denver1\.renegade-x\.com renegadex; | |
~.*---.*?seattle1\.renegade-x\.com renegadex; | |
~.*---.*?l3cdn\.riotgames\.com riot; | |
~.*---.*?worldwide\.l3cdn\.riotgames\.com riot; | |
~.*---.*?riotgamespatcher-a\.akamaihd\.net riot; | |
~.*---.*?riotgamespatcher-a\.akamaihd\.net\.edgesuite\.net riot; | |
~.*---.*?.*\.dyn\.riotcdn\.net riot; | |
~.*---.*?patches\.rockstargames\.com rockstar; | |
~.*---.*?pls\.patch\.station\.sony\.com sony; | |
~.*---.*?gs2\.ww\.prod\.dl\.playstation\.net sony; | |
~.*---.*?gs2\.sonycoment\.loris-e\.llnwd\.net sony; | |
~.*---.*?lancache\.steamcontent\.com steam; | |
~.*---.*?.*\.cdn\.ubi\.com uplay; | |
~.*---.*?live\.patcher\.elderscrollsonline\.com teso; | |
~.*---.*?d3rmjivj4k4f0t\.cloudfront\.net twitch; | |
~.*---.*?addons\.forgesvc\.net twitch; | |
~.*---.*?media\.forgecdn\.net twitch; | |
~.*---.*?files\.forgecdn\.net twitch; | |
~.*---.*?content\.warframe\.com warframe; | |
~.*---.*?dl1\.wargaming\.net wargaming; | |
~.*---.*?dl2\.wargaming\.net wargaming; | |
~.*---.*?wg\.gcdn\.co wargaming; | |
~.*---.*?wgusst-na\.wargaming\.net wargaming; | |
~.*---.*?wgusst-eu\.wargaming\.net wargaming; | |
~.*---.*?update-v4r4h10x\.worldofwarships\.com wargaming; | |
~.*---.*?wgus-wotasia\.wargaming\.net wargaming; | |
~.*---.*?dl-wot-ak\.wargaming\.net wargaming; | |
~.*---.*?dl-wot-gc\.wargaming\.net wargaming; | |
~.*---.*?dl-wot-se\.wargaming\.net wargaming; | |
~.*---.*?dl-wot-cdx\.wargaming\.net wargaming; | |
~.*---.*?dl-wows-ak\.wargaming\.net wargaming; | |
~.*---.*?dl-wows-gc\.wargaming\.net wargaming; | |
~.*---.*?dl-wows-se\.wargaming\.net wargaming; | |
~.*---.*?dl-wows-cdx\.wargaming\.net wargaming; | |
~.*---.*?dl-wowp-ak\.wargaming\.net wargaming; | |
~.*---.*?dl-wowp-gc\.wargaming\.net wargaming; | |
~.*---.*?dl-wowp-se\.wargaming\.net wargaming; | |
~.*---.*?dl-wowp-cdx\.wargaming\.net wargaming; | |
~.*---.*?officecdn\.microsoft\.com wsus; | |
~.*---.*?.*\.windowsupdate\.com wsus; | |
~.*---.*?windowsupdate\.com wsus; | |
~.*---.*?.*\.dl\.delivery\.mp\.microsoft\.com wsus; | |
~.*---.*?dl\.delivery\.mp\.microsoft\.com wsus; | |
~.*---.*?.*\.update\.microsoft\.com wsus; | |
~.*---.*?.*\.do\.dsp\.mp\.microsoft\.com wsus; | |
~.*---.*?.*\.microsoft\.com\.edgesuite\.net wsus; | |
~.*---.*?amupdatedl\.microsoft\.com wsus; | |
~.*---.*?amupdatedl2\.microsoft\.com wsus; | |
~.*---.*?amupdatedl3\.microsoft\.com wsus; | |
~.*---.*?amupdatedl4\.microsoft\.com wsus; | |
~.*---.*?amupdatedl5\.microsoft\.com wsus; | |
~.*---.*?assets1\.xboxlive\.com xboxlive; | |
~.*---.*?assets2\.xboxlive\.com xboxlive; | |
~.*---.*?dlassets\.xboxlive\.com xboxlive; | |
~.*---.*?xboxone\.loris\.llnwd\.net xboxlive; | |
~.*---.*?.*\.xboxone\.loris\.llnwd\.net xboxlive; | |
~.*---.*?xboxone\.vo\.llnwd\.net xboxlive; | |
~.*---.*?xbox-mbr\.xboxlive\.com xboxlive; | |
~.*---.*?assets1\.xboxlive\.com\.nsatc\.net xboxlive; | |
} | |
Executing hook /hooks/entrypoint-pre.d/19_doc_root_setup | |
/var/www/html already exists. | |
Setting document root to /var/www/html | |
Executing hook /hooks/entrypoint-pre.d/20_perms_check.sh | |
Executing hook /hooks/entrypoint-pre.d/20_ssl_setup | |
Not enabling SSL as neither key nor cert provided. | |
Executing hook /hooks/supervisord-pre.d/20_test_files_setup | |
Checking if /var/www/html is empty - Directory not empty.. don't touch content | |
Executing hook /hooks/supervisord-pre.d/21_cleanup_log_files | |
Cleaning up log files older than 3560 days | |
Executing hook /hooks/supervisord-pre.d/99_config_check.sh | |
Currently configured config: | |
NGINX CONFIG DUMP FOR /etc/nginx/nginx.conf | |
# Including /etc/nginx/nginx.conf | |
user www-data; | |
# Including /etc/nginx/workers.conf | |
worker_processes auto; | |
# Finished including /etc/nginx/workers.conf | |
pid /run/nginx.pid; | |
events { | |
worker_connections 4096; | |
multi_accept on; | |
use epoll; | |
} | |
http { | |
aio threads; | |
sendfile on; | |
tcp_nopush on; | |
tcp_nodelay on; | |
keepalive_timeout 65; | |
types_hash_max_size 2048; | |
# Including /etc/nginx/mime.types | |
types { | |
text/html html htm shtml; | |
text/css css; | |
text/xml xml; | |
image/gif gif; | |
image/jpeg jpeg jpg; | |
application/javascript js; | |
application/atom+xml atom; | |
application/rss+xml rss; | |
text/mathml mml; | |
text/plain txt; | |
text/vnd.sun.j2me.app-descriptor jad; | |
text/vnd.wap.wml wml; | |
text/x-component htc; | |
image/png png; | |
image/tiff tif tiff; | |
image/vnd.wap.wbmp wbmp; | |
image/x-icon ico; | |
image/x-jng jng; | |
image/x-ms-bmp bmp; | |
image/svg+xml svg svgz; | |
image/webp webp; | |
application/font-woff woff; | |
application/java-archive jar war ear; | |
application/json json; | |
application/mac-binhex40 hqx; | |
application/msword doc; | |
application/pdf pdf; | |
application/postscript ps eps ai; | |
application/rtf rtf; | |
application/vnd.apple.mpegurl m3u8; | |
application/vnd.ms-excel xls; | |
application/vnd.ms-fontobject eot; | |
application/vnd.ms-powerpoint ppt; | |
application/vnd.wap.wmlc wmlc; | |
application/vnd.google-earth.kml+xml kml; | |
application/vnd.google-earth.kmz kmz; | |
application/x-7z-compressed 7z; | |
application/x-cocoa cco; | |
application/x-java-archive-diff jardiff; | |
application/x-java-jnlp-file jnlp; | |
application/x-makeself run; | |
application/x-perl pl pm; | |
application/x-pilot prc pdb; | |
application/x-rar-compressed rar; | |
application/x-redhat-package-manager rpm; | |
application/x-sea sea; | |
application/x-shockwave-flash swf; | |
application/x-stuffit sit; | |
application/x-tcl tcl tk; | |
application/x-x509-ca-cert der pem crt; | |
application/x-xpinstall xpi; | |
application/xhtml+xml xhtml; | |
application/xspf+xml xspf; | |
application/zip zip; | |
application/octet-stream bin exe dll; | |
application/octet-stream deb; | |
application/octet-stream dmg; | |
application/octet-stream iso img; | |
application/octet-stream msi msp msm; | |
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx; | |
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx; | |
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx; | |
audio/midi mid midi kar; | |
audio/mpeg mp3; | |
audio/ogg ogg; | |
audio/x-m4a m4a; | |
audio/x-realaudio ra; | |
video/3gpp 3gpp 3gp; | |
video/mp2t ts; | |
video/mp4 mp4; | |
video/mpeg mpeg mpg; | |
video/quicktime mov; | |
video/webm webm; | |
video/x-flv flv; | |
video/x-m4v m4v; | |
video/x-mng mng; | |
video/x-ms-asf asx asf; | |
video/x-ms-wmv wmv; | |
video/x-msvideo avi; | |
} | |
# Finished including /etc/nginx/mime.types | |
default_type application/octet-stream; | |
access_log /var/log/nginx/access.log; | |
error_log /var/log/nginx/error.log; | |
gzip on; | |
# Including /etc/nginx/conf.d/10_log_format.conf | |
log_format cachelog '[$cacheidentifier] $remote_addr / $http_x_forwarded_for - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$upstream_cache_status" "$host" "$http_range"'; | |
# Finished including /etc/nginx/conf.d/10_log_format.conf | |
# Including /etc/nginx/conf.d/20_proxy_cache_path.conf | |
proxy_cache_path /data/cache/cache levels=2:2 keys_zone=generic:500m inactive=200d max_size=1000000m loader_files=1000 loader_sleep=50ms loader_threshold=300ms use_temp_path=off; | |
# Finished including /etc/nginx/conf.d/20_proxy_cache_path.conf | |
# Including /etc/nginx/conf.d/30_maps.conf | |
map "$http_useragent---$http_host" $cacheidentifier { | |
default $http_host; | |
"~Valve/Steam HTTP Client 1.0---.*" steam; | |
~.*---.*?assetcdn.101.arenanetworks.com arenanet; | |
~.*---.*?assetcdn.102.arenanetworks.com arenanet; | |
~.*---.*?assetcdn.103.arenanetworks.com arenanet; | |
~.*---.*?live.patcher.bladeandsoul.com arenanet; | |
~.*---.*?dist.blizzard.com blizzard; | |
~.*---.*?dist.blizzard.com.edgesuite.net blizzard; | |
~.*---.*?llnw.blizzard.com blizzard; | |
~.*---.*?edgecast.blizzard.com blizzard; | |
~.*---.*?blizzard.vo.llnwd.net blizzard; | |
~.*---.*?blzddist1-a.akamaihd.net blizzard; | |
~.*---.*?blzddist2-a.akamaihd.net blizzard; | |
~.*---.*?blzddist3-a.akamaihd.net blizzard; | |
~.*---.*?blzddist4-a.akamaihd.net blizzard; | |
~.*---.*?level3.blizzard.com blizzard; | |
~.*---.*?nydus.battle.net blizzard; | |
~.*---.*?edge.blizzard.top.comcast.net blizzard; | |
~.*---.*?cdn.blizzard.com blizzard; | |
~.*---.*?.*.cdn.blizzard.com blizzard; | |
~.*---.*?cdn.homecomingservers.com cityofheroes; | |
~.*---.*?#Daybreakgames daybreak; | |
~.*---.*?# daybreak; | |
~.*---.*?#DoNOTcachemanifest.patch.daybreakgames.com daybreak; | |
~.*---.*?# daybreak; | |
~.*---.*?#PS2 daybreak; | |
~.*---.*?pls.patch.daybreakgames.com daybreak; | |
~.*---.*?epicgames-download1.akamaized.net epicgames; | |
~.*---.*?download.epicgames.com epicgames; | |
~.*---.*?download2.epicgames.com epicgames; | |
~.*---.*?download3.epicgames.com epicgames; | |
~.*---.*?download4.epicgames.com epicgames; | |
~.*---.*?cdn.zaonce.net frontier; | |
~.*---.*?hirez.http.internapcdn.net hirez; | |
~.*---.*?filedelivery.nexusmods.com nexusmods; | |
~.*---.*?level3.nwhttppatch.crypticstudios.com neverwinter; | |
~.*---.*?ccs.cdn.wup.shop.nintendo.com nintendo; | |
~.*---.*?ccs.cdn.wup.shop.nintendo.net nintendo; | |
~.*---.*?ccs.cdn.wup.shop.nintendo.net.edgesuite.net nintendo; | |
~.*---.*?geisha-wup.cdn.nintendo.net nintendo; | |
~.*---.*?geisha-wup.cdn.nintendo.net.edgekey.net nintendo; | |
~.*---.*?idbe-wup.cdn.nintendo.net nintendo; | |
~.*---.*?idbe-wup.cdn.nintendo.net.edgekey.net nintendo; | |
~.*---.*?ecs-lp1.hac.shop.nintendo.net nintendo; | |
~.*---.*?receive-lp1.dg.srv.nintendo.net nintendo; | |
~.*---.*?.*.wup.shop.nintendo.net nintendo; | |
~.*---.*?.*.wup.eshop.nintendo.net nintendo; | |
~.*---.*?.*.hac.lp1.d4c.nintendo.net nintendo; | |
~.*---.*?.*.hac.lp1.eshop.nintendo.net nintendo; | |
~.*---.*?rxp-fl.cncirc.net renegadex; | |
~.*---.*?rxp-chi.cncirc.net renegadex; | |
~.*---.*?rxp-nz.cncirc.net renegadex; | |
~.*---.*?rxp-bgr.cncirc.net renegadex; | |
~.*---.*?rxp-fr.cncirc.net renegadex; | |
~.*---.*?rxp-nyc.cncirc.net renegadex; | |
~.*---.*?rxp-uk.cncirc.net renegadex; | |
~.*---.*?rxp-sg.cncirc.net renegadex; | |
~.*---.*?rxp-la.cncirc.net renegadex; | |
~.*---.*?rxp-fin.cncirc.net renegadex; | |
~.*---.*?denver1.renegade-x.com renegadex; | |
~.*---.*?seattle1.renegade-x.com renegadex; | |
~.*---.*?l3cdn.riotgames.com riot; | |
~.*---.*?worldwide.l3cdn.riotgames.com riot; | |
~.*---.*?riotgamespatcher-a.akamaihd.net riot; | |
~.*---.*?riotgamespatcher-a.akamaihd.net.edgesuite.net riot; | |
~.*---.*?.*.dyn.riotcdn.net riot; | |
~.*---.*?patches.rockstargames.com rockstar; | |
~.*---.*?pls.patch.station.sony.com sony; | |
~.*---.*?gs2.ww.prod.dl.playstation.net sony; | |
~.*---.*?gs2.sonycoment.loris-e.llnwd.net sony; | |
~.*---.*?lancache.steamcontent.com steam; | |
~.*---.*?.*.cdn.ubi.com uplay; | |
~.*---.*?live.patcher.elderscrollsonline.com teso; | |
~.*---.*?d3rmjivj4k4f0t.cloudfront.net twitch; | |
~.*---.*?addons.forgesvc.net twitch; | |
~.*---.*?media.forgecdn.net twitch; | |
~.*---.*?files.forgecdn.net twitch; | |
~.*---.*?content.warframe.com warframe; | |
~.*---.*?dl1.wargaming.net wargaming; | |
~.*---.*?dl2.wargaming.net wargaming; | |
~.*---.*?wg.gcdn.co wargaming; | |
~.*---.*?wgusst-na.wargaming.net wargaming; | |
~.*---.*?wgusst-eu.wargaming.net wargaming; | |
~.*---.*?update-v4r4h10x.worldofwarships.com wargaming; | |
~.*---.*?wgus-wotasia.wargaming.net wargaming; | |
~.*---.*?dl-wot-ak.wargaming.net wargaming; | |
~.*---.*?dl-wot-gc.wargaming.net wargaming; | |
~.*---.*?dl-wot-se.wargaming.net wargaming; | |
~.*---.*?dl-wot-cdx.wargaming.net wargaming; | |
~.*---.*?dl-wows-ak.wargaming.net wargaming; | |
~.*---.*?dl-wows-gc.wargaming.net wargaming; | |
~.*---.*?dl-wows-se.wargaming.net wargaming; | |
~.*---.*?dl-wows-cdx.wargaming.net wargaming; | |
~.*---.*?dl-wowp-ak.wargaming.net wargaming; | |
~.*---.*?dl-wowp-gc.wargaming.net wargaming; | |
~.*---.*?dl-wowp-se.wargaming.net wargaming; | |
~.*---.*?dl-wowp-cdx.wargaming.net wargaming; | |
~.*---.*?officecdn.microsoft.com wsus; | |
~.*---.*?.*.windowsupdate.com wsus; | |
~.*---.*?windowsupdate.com wsus; | |
~.*---.*?.*.dl.delivery.mp.microsoft.com wsus; | |
~.*---.*?dl.delivery.mp.microsoft.com wsus; | |
~.*---.*?.*.update.microsoft.com wsus; | |
~.*---.*?.*.do.dsp.mp.microsoft.com wsus; | |
~.*---.*?.*.microsoft.com.edgesuite.net wsus; | |
~.*---.*?amupdatedl.microsoft.com wsus; | |
~.*---.*?amupdatedl2.microsoft.com wsus; | |
~.*---.*?amupdatedl3.microsoft.com wsus; | |
~.*---.*?amupdatedl4.microsoft.com wsus; | |
~.*---.*?amupdatedl5.microsoft.com wsus; | |
~.*---.*?assets1.xboxlive.com xboxlive; | |
~.*---.*?assets2.xboxlive.com xboxlive; | |
~.*---.*?dlassets.xboxlive.com xboxlive; | |
~.*---.*?xboxone.loris.llnwd.net xboxlive; | |
~.*---.*?.*.xboxone.loris.llnwd.net xboxlive; | |
~.*---.*?xboxone.vo.llnwd.net xboxlive; | |
~.*---.*?xbox-mbr.xboxlive.com xboxlive; | |
~.*---.*?assets1.xboxlive.com.nsatc.net xboxlive; | |
} | |
# Finished including /etc/nginx/conf.d/30_maps.conf | |
# Including /etc/nginx/sites-enabled/10_generic.conf | |
server { | |
listen 80 reuseport; | |
access_log /data/logs/access.log cachelog; | |
error_log /data/logs/error.log; | |
# Including /etc/nginx/sites-available/generic.conf.d/10_generic.conf | |
resolver 8.8.8.8 8.8.4.4 ipv6=off; | |
location / { | |
# Including /etc/nginx/sites-available/generic.conf.d/root/10_loop_detection.conf | |
# Abort any circular requests | |
if ($http_X_LanCache_Processed_By = $hostname) { | |
return 508; | |
} | |
proxy_set_header X-LanCache-Processed-By $hostname; | |
add_header X-LanCache-Processed-By $hostname,$http_X_LanCache_Processed_By; | |
# Finished including /etc/nginx/sites-available/generic.conf.d/root/10_loop_detection.conf | |
# Including /etc/nginx/sites-available/generic.conf.d/root/20_cache.conf | |
# Cache Location | |
slice 1m; | |
proxy_cache generic; | |
proxy_ignore_headers Expires Cache-Control; | |
proxy_cache_valid 200 206 3560d; | |
proxy_set_header Range $slice_range; | |
# Only download one copy at a time and use a large timeout so | |
# this really happens, otherwise we end up wasting bandwith | |
# getting the file multiple times. | |
proxy_cache_lock on; | |
proxy_cache_lock_timeout 1h; | |
# Allow the use of state entries | |
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504; | |
# Allow caching of 200 but not 301 or 302 as our cache key may not include query params | |
# hence may not be valid for all users | |
proxy_cache_valid 301 302 0; | |
# Enable cache revalidation | |
proxy_cache_revalidate on; | |
# Don't cache requests marked as nocache=1 | |
proxy_cache_bypass $arg_nocache; | |
# 40G max file | |
proxy_max_temp_file_size 40960m; | |
# Finished including /etc/nginx/sites-available/generic.conf.d/root/20_cache.conf | |
# Including /etc/nginx/sites-available/generic.conf.d/root/30_cache_key.conf | |
proxy_cache_key $cacheidentifier$uri$slice_range; | |
# Finished including /etc/nginx/sites-available/generic.conf.d/root/30_cache_key.conf | |
# Including /etc/nginx/sites-available/generic.conf.d/root/40_etags.conf | |
# Battle.net Fix | |
proxy_hide_header ETag; | |
# Finished including /etc/nginx/sites-available/generic.conf.d/root/40_etags.conf | |
# Including /etc/nginx/sites-available/generic.conf.d/root/90_upstream.conf | |
# Upstream Configuration | |
proxy_next_upstream error timeout http_404; | |
proxy_pass http://$host$request_uri; | |
proxy_redirect off; | |
proxy_ignore_client_abort on; | |
# Upstream request headers | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
# Finished including /etc/nginx/sites-available/generic.conf.d/root/90_upstream.conf | |
# Including /etc/nginx/sites-available/generic.conf.d/root/99_debug_header.conf | |
# Debug Headers | |
add_header X-Upstream-Status $upstream_status; | |
add_header X-Upstream-Response-Time $upstream_response_time; | |
add_header X-Upstream-Cache-Status $upstream_cache_status; | |
# Finished including /etc/nginx/sites-available/generic.conf.d/root/99_debug_header.conf | |
} | |
# Fix for League of Legends Updater | |
location ~ ^.+(releaselisting_.*|.version$) { | |
proxy_pass http://$host; | |
} | |
location = /steamcache-heartbeat { | |
add_header X-LanCache-Processed-By $hostname; | |
return 204; | |
} | |
# Finished including /etc/nginx/sites-available/generic.conf.d/10_generic.conf | |
} | |
# Finished including /etc/nginx/sites-enabled/10_generic.conf | |
} | |
# Finished including /etc/nginx/nginx.conf | |
Checking nginx config | |
Config check successful | |
2020-01-29 15:47:48,144 CRIT Set uid to user 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment