add ipv6 to nginx

This commit is contained in:
2024-06-06 20:39:13 -04:00
parent 450ae4afa6
commit 7bfd3331e3
11 changed files with 83 additions and 12 deletions

View File

@@ -3,5 +3,6 @@ server {
error_log /var/log/nginx/nginx_stream_error.log warn;
listen {{ ansible_default_ipv4.address }}:2222;
listen [{{ ansible_default_ipv6.address }}]:2222;
proxy_pass 10.1.2.100:2222;
}