# Cmd server server { listen 8888 ssl; ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt; ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key; location / { client_max_body_size 100M; proxy_pass http://127.0.0.1:5000; proxy_set_header X-Real-IP $remote_addr; } } # VLC server server { listen 8887 ssl; ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt; ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key; location / { proxy_pass http://127.0.0.1:5001; proxy_set_header X-Real-IP $remote_addr; } }