Skip to content

Commit

Permalink
Add Minecraft server block
Browse files Browse the repository at this point in the history
  • Loading branch information
Lochnair committed Oct 31, 2016
1 parent 3a0c280 commit 95859da
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sites/lancache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,19 @@ server {
include lancache/node-winupdate;
}

# minecraft
server {
listen *:80;
server_name *.download.minecraft.net download.minecraft.net repo.care.army;
# DNS entries:
# .download.minecraft.net repo.care.army

access_log /var/lancache/logs/lancache-minecraft-access.log main;
error_log /var/lancache/logs/lancache-minecraft-error.log;

include lancache/node-default;
}

# status
server {
listen localhost default;
Expand Down

0 comments on commit 95859da

Please sign in to comment.