move sites to http, add stream proxies

This commit is contained in:
Arthur Lu 2023-12-12 10:14:10 -08:00
parent ec0facac21
commit 1c8432b2d4
14 changed files with 15 additions and 2 deletions

View File

@ -33,6 +33,14 @@ http {
# proxy parameters # proxy parameters
include proxy-params.conf; include proxy-params.conf;
# include sites # include http
include sites/*; include http/*.conf;
} }
stream {
# logging
access_log access.log;
error_log error.log;
# include stream
include stream/*.conf;
}

5
stream/minecraft.conf Normal file
View File

@ -0,0 +1,5 @@
server {
listen 25565 reuseport;
proxy_timeout 30s;
proxy_pass minecraft.root;
}