server { listen 80; location / { proxy_pass http://playout:80; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } location /hls { proxy_pass http://relay:80; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } }