Fix warning about reverse-proxying when built-in proxy is disabled

`matrix_nginx_proxy_enabled` is usually set to false by users, this is when
the warning should be displayed.
This commit is contained in:
László Várady
2022-03-12 15:47:59 +01:00
parent 65f92f043a
commit 9cc3c5be76
11 changed files with 11 additions and 11 deletions

View File

@ -68,4 +68,4 @@
Please make sure that you're proxying the `{{ matrix_mx_puppet_twitter_redirect_path }}`
URL endpoint to the matrix-mx-puppet-twitter container.
You can expose the container's port using the `matrix_mx_puppet_twitter_container_http_host_bind_port` variable.
when: "matrix_mx_puppet_twitter_enabled|bool and matrix_nginx_proxy_enabled is not defined"
when: "matrix_mx_puppet_twitter_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool"