Closed AlbanMinassian closed 1 month ago
Hello @AlbanMinassian, From what I see without testing you could use Sōzu with this minor modifications:
command_socket = "/sozu/sock
log_level = "info
log_target = "stdout"
command_buffer_size = 16384
worker_count = 2
handle_process_affinity = false
max_connections = 500
max_buffers = 500
buffer_size = 16384
activate_listeners = true
[[listeners]]
protocol = "http"
address = "[::1]:80"
sticky_name = "SOZUBALANCEID"
[clusters]
[clusters.nginx]
protocol = "http"
load_balancing = "ROUND_ROBIN"
frontends = [
{ position = "TREE", address = "[::1]:80", hostname = "domain_name_that_resolve_the_ipv6", path = "/" },
]
backends = [
{ address = "10.0.0.2:5999", backend_id = "backend_id_1_of_key_cluster_nginx_http" }
]
I am unable to reproduce the problem, can you confirm that Sozu is listening on the right port?
So if you ssh on the machine and run curl -g -6 'http://[::1]:80'
do yo get an automatic 404 answer from Sozu?
thanks, I'll give it a try
Hello / Bonjour
I managed to get sozu working on an ipv4 machine. Cool. I need help configuring on an ipv6 machine, and this is the first time I've handled ipv6 (Not cool)
I have a machine
I have a nginx application that works fine on port 5999
curl -g -6 'http://[2a01:4f8:1c1e:9dcf::1]:5999'
returns the nginx page, okcurl http://10.0.0.2:5999
(via ssh) returns the nginx page, okmy sozu file is as follows
and the command
/sozu/bin/sozu shutdown -c /sozu/config.toml && /sozu/bin/sozu start -c /sozu/config.toml
returnscurl -g -6 'http://[2a01:4f8:1c1e:9dcf::1]:80'
returncurl: (7) Failed to connect to 2a01:4f8:1c1e:9dcf::1 port 80 after 0 ms: Couldn't connect to server
I can't find an example in the source code with ipv6.
How can I configure sozu with ipv6 only?
Thanks for your help