mirror of
https://github.com/lancachenet/monolithic
synced 2024-11-22 03:53:06 +00:00
Apply suggestions from code review
Thanks @gotenxiao Co-authored-by: GotenXiao <gotenxiao@gmail.com>
This commit is contained in:
parent
d77cfdc601
commit
425a75c7da
9 changed files with 20 additions and 24 deletions
|
@ -1,6 +1,6 @@
|
||||||
FROM lancachenet/ubuntu-nginx:latest
|
FROM lancachenet/ubuntu-nginx:latest
|
||||||
LABEL version=3
|
LABEL version=3
|
||||||
LABEL description="Single caching container for caching game content at lan parties."
|
LABEL description="Single caching container for caching game content at LAN parties."
|
||||||
LABEL maintainer="LanCache.Net Team <team@lancache.net>"
|
LABEL maintainer="LanCache.Net Team <team@lancache.net>"
|
||||||
|
|
||||||
ENV GENERICCACHE_VERSION=2 \
|
ENV GENERICCACHE_VERSION=2 \
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 reuseport;
|
listen 80 reuseport;
|
||||||
|
|
||||||
access_log /data/logs/access.log cachelog;
|
access_log /data/logs/access.log cachelog;
|
||||||
error_log /data/logs/error.log;
|
error_log /data/logs/error.log;
|
||||||
|
|
||||||
|
|
||||||
include /etc/nginx/sites-available/cache.conf.d/*.conf;
|
include /etc/nginx/sites-available/cache.conf.d/*.conf;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,4 +5,3 @@
|
||||||
include /etc/nginx/sites-available/cache.conf.d/root/*.conf;
|
include /etc/nginx/sites-available/cache.conf.d/root/*.conf;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# Fix for League of Legends Updater
|
# Fix for League of Legends Updater
|
||||||
location ~ ^.+(releaselisting_.*|.version$) {
|
location ~ ^.+(releaselisting_.*|.version$) {
|
||||||
proxy_pass http://$host;
|
proxy_pass http://$host;
|
||||||
|
|
Loading…
Reference in a new issue