parametrize certificate locations

This commit is contained in:
Jakub Sokołowski 2018-10-31 22:36:52 +01:00
parent 9cd0fbabe7
commit 810f42a553
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 5 additions and 2 deletions

View File

@ -7,6 +7,9 @@ livepeer_cont_cli_port: 7935
livepeer_cont_http_port: 8080 livepeer_cont_http_port: 8080
livepeer_cont_rtmp_port: 1935 livepeer_cont_rtmp_port: 1935
livepeer_ssl_crt_path: '/certs/origin.crt'
livepeer_ssl_key_path: '/certs/origin.key'
livepeer_cont_state: started livepeer_cont_state: started
livepeer_cont_recreate: false livepeer_cont_recreate: false
livepeer_cont_restart: false livepeer_cont_restart: false

View File

@ -18,8 +18,8 @@
- server_name {{ livepeer_domain }} - server_name {{ livepeer_domain }}
- ssl_certificate /certs/origin.crt - ssl_certificate {{ livepeer_ssl_crt_path }}
- ssl_certificate_key /certs/origin.key - ssl_certificate_key {{ livepeer_ssl_key_path }}
- root {{ livepeer_root }} - root {{ livepeer_root }}