|
|
|
@ -10,9 +10,14 @@ Install certbot to acquire the ssl certificate:
|
|
|
|
|
https://certbot.eff.org
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add the following line at the very top of nginx.conf:
|
|
|
|
|
load_module /usr/lib/nginx/modules/ngx_stream_module.so;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sample configuration to be inserted in the nginx.conf (adjust the path and filename of your certificate and key):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stream {
|
|
|
|
|
upstream RTL {
|
|
|
|
|
server 127.0.0.1:3000;
|
|
|
|
@ -31,4 +36,4 @@ Sample configuration to be inserted in the nginx.conf (adjust the path and filen
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Restart Nginx with the new configuration and connect to RTL over https on the port 3002.
|
|
|
|
|
Restart Nginx with the new configuration and connect to RTL over https on the port 3002.
|
|
|
|
|