move sites to http, add stream proxies
This commit is contained in:
parent
ec0facac21
commit
1c8432b2d4
12
nginx.conf
12
nginx.conf
@ -33,6 +33,14 @@ http {
|
||||
# proxy parameters
|
||||
include proxy-params.conf;
|
||||
|
||||
# include sites
|
||||
include sites/*;
|
||||
# include http
|
||||
include http/*.conf;
|
||||
}
|
||||
stream {
|
||||
# logging
|
||||
access_log access.log;
|
||||
error_log error.log;
|
||||
|
||||
# include stream
|
||||
include stream/*.conf;
|
||||
}
|
5
stream/minecraft.conf
Normal file
5
stream/minecraft.conf
Normal file
@ -0,0 +1,5 @@
|
||||
server {
|
||||
listen 25565 reuseport;
|
||||
proxy_timeout 30s;
|
||||
proxy_pass minecraft.root;
|
||||
}
|
Loading…
Reference in New Issue
Block a user