Update 'ownCast + nginx + TLS/SSL'
							parent
							
								
									18030b57cf
								
							
						
					
					
						commit
						d7d58e9ea9
					
				| 
						 | 
				
			
			@ -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.
 | 
			
		||||
		Loading…
	
		Reference in New Issue