add ipv6 to nginx
This commit is contained in:
8
nginx/stream.d/minecraft.conf
Normal file
8
nginx/stream.d/minecraft.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
server {
|
||||
access_log /var/log/nginx/nginx_stream_access.log basic;
|
||||
error_log /var/log/nginx/nginx_stream_error.log warn;
|
||||
|
||||
listen {{ ansible_default_ipv4.address }}:25565-25575;
|
||||
listen [{{ ansible_default_ipv6.address }}]:25565-25575;
|
||||
proxy_pass 10.1.2.100:$server_port;
|
||||
}
|
||||
Reference in New Issue
Block a user