define ca_server for nginx.ssl

This commit is contained in:
m0duspwnens
2023-06-28 10:58:13 -04:00
parent 24b7f7a7ce
commit be028aa23e
2 changed files with 2 additions and 2 deletions

View File

@@ -7,6 +7,8 @@
{% if sls.split('.')[0] in allowed_states %}
{% from 'vars/globals.map.jinja' import GLOBALS %}
{% from 'nginx/map.jinja' import NGINXMERGED %}
{# since nginx runs on the manager we can just use the hostname as the ca server #}
{% set ca_server = GLOBALS.hostname %}
{# if the user has selected to replace the crt and key in the ui #}
{% if NGINXMERGED.ssl.replace_cert %}