From d7d58e9ea96a14f2c294511bc2ff2eea48e8f6e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Prin=C4=8Di=C4=8D?= Date: Thu, 11 Mar 2021 17:32:57 +0100 Subject: [PATCH] Update 'ownCast + nginx + TLS/SSL' --- ...d-TLS.md => ownCast-%2B-nginx-%2B-TLS%2FSSL.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) rename ownCast%2C-nginx-and-TLS.md => ownCast-%2B-nginx-%2B-TLS%2FSSL.md (84%) diff --git a/ownCast%2C-nginx-and-TLS.md b/ownCast-%2B-nginx-%2B-TLS%2FSSL.md similarity index 84% rename from ownCast%2C-nginx-and-TLS.md rename to ownCast-%2B-nginx-%2B-TLS%2FSSL.md index ebc4db5..062b813 100644 --- a/ownCast%2C-nginx-and-TLS.md +++ b/ownCast-%2B-nginx-%2B-TLS%2FSSL.md @@ -55,7 +55,13 @@ Test your webserver by going with a browser to http://your.domain.com. (it's better not to enable automatic forward to SSL-enabled site e.g. http->https) -## reconfigure nginx to proxy to ownCast +certbot should reload your server but if it doesn't just +``` +$ sudo systemctl restart nginx.service +``` +Test it by opening https://your.domain.com in your browser. + +## reconfigure nginx to proxy to ownCast with SSL included. edit /etc/nginx/sites-available/your.domain.com.conf into something like this: @@ -93,3 +99,10 @@ map $http_upgrade $connection_upgrade { '' close; } ``` + +Finally restart the server: +``` +$ sudo systemctl restart nginx.service +``` + +https://your.domain.com should now show owncast server. \ No newline at end of file