Current setup as follows:
stream {
server {
server_name stream.kingdomgame.org; # this line is resulting in an error
proxy_pass http://localhost:1935;
}
}
Works just fine without server_name, but I'd like to use a domain if possible.