Showing 690 Result(s)

nginx stream map with wildcard

abubin asked: I am really bad with regex. I am trying to do this in nginx: stream { map $ssl_preread_server_name $name { api.dom1.com dom1_backend; *.dom2.com dom2_backend; } upstream dom1_backend { …