mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-24 17:13:23 +00:00 
			
		
		
		
	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:
		| @@ -84,4 +84,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ something }}` |       Please make sure that you're proxying the `{{ something }}` | ||||||
|       URL endpoint to the matrix-appservice-slack container. |       URL endpoint to the matrix-appservice-slack container. | ||||||
|       You can expose the container's port using the `matrix_appservice_slack_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_appservice_slack_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_appservice_slack_enabled|bool and matrix_nginx_proxy_enabled is not defined" |   when: "matrix_appservice_slack_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -79,4 +79,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_appservice_webhooks_public_endpoint }}` |       Please make sure that you're proxying the `{{ matrix_appservice_webhooks_public_endpoint }}` | ||||||
|       URL endpoint to the matrix-appservice-webhooks container. |       URL endpoint to the matrix-appservice-webhooks container. | ||||||
|       You can expose the container's port using the `matrix_appservice_webhooks_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_appservice_webhooks_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_appservice_webhooks_enabled|bool and matrix_nginx_proxy_enabled is not defined" |   when: "matrix_appservice_webhooks_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -127,4 +127,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_hookshot_public_endpoint }}` |       Please make sure that you're proxying the `{{ matrix_hookshot_public_endpoint }}` | ||||||
|       URL endpoint to the matrix-hookshot container. |       URL endpoint to the matrix-hookshot container. | ||||||
|       You can expose the container's ports using the `matrix_hookshot_container_http_host_bind_ports` variable. |       You can expose the container's ports using the `matrix_hookshot_container_http_host_bind_ports` variable. | ||||||
|   when: "matrix_hookshot_enabled|bool and matrix_nginx_proxy_enabled is not defined" |   when: "matrix_hookshot_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -67,4 +67,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_mautrix_googlechat_public_endpoint }}` |       Please make sure that you're proxying the `{{ matrix_mautrix_googlechat_public_endpoint }}` | ||||||
|       URL endpoint to the matrix-mautrix-googlechat container. |       URL endpoint to the matrix-mautrix-googlechat container. | ||||||
|       You can expose the container's port using the `matrix_mautrix_googlechat_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_mautrix_googlechat_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_mautrix_googlechat_enabled|bool and (matrix_nginx_proxy_enabled is not defined or matrix_nginx_proxy_enabled|bool == false)" |   when: "matrix_mautrix_googlechat_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -67,4 +67,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_mautrix_hangouts_public_endpoint }}` |       Please make sure that you're proxying the `{{ matrix_mautrix_hangouts_public_endpoint }}` | ||||||
|       URL endpoint to the matrix-mautrix-hangouts container. |       URL endpoint to the matrix-mautrix-hangouts container. | ||||||
|       You can expose the container's port using the `matrix_mautrix_hangouts_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_mautrix_hangouts_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_mautrix_hangouts_enabled|bool and (matrix_nginx_proxy_enabled is not defined or matrix_nginx_proxy_enabled|bool == false)" |   when: "matrix_mautrix_hangouts_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -68,4 +68,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_mautrix_telegram_public_endpoint }}` |       Please make sure that you're proxying the `{{ matrix_mautrix_telegram_public_endpoint }}` | ||||||
|       URL endpoint to the matrix-mautrix-telegram container. |       URL endpoint to the matrix-mautrix-telegram container. | ||||||
|       You can expose the container's port using the `matrix_mautrix_telegram_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_mautrix_telegram_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_mautrix_telegram_enabled|bool and matrix_nginx_proxy_enabled is not defined" |   when: "matrix_mautrix_telegram_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -68,4 +68,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_mx_puppet_slack_redirect_path }}` |       Please make sure that you're proxying the `{{ matrix_mx_puppet_slack_redirect_path }}` | ||||||
|       URL endpoint to the matrix-mx-puppet-slack container. |       URL endpoint to the matrix-mx-puppet-slack container. | ||||||
|       You can expose the container's port using the `matrix_appservice_slack_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_appservice_slack_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_mx_puppet_slack_enabled|bool and matrix_nginx_proxy_enabled is not defined" |   when: "matrix_mx_puppet_slack_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -68,4 +68,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_mx_puppet_twitter_redirect_path }}` |       Please make sure that you're proxying the `{{ matrix_mx_puppet_twitter_redirect_path }}` | ||||||
|       URL endpoint to the matrix-mx-puppet-twitter container. |       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. |       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" | ||||||
|   | |||||||
| @@ -61,4 +61,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_etherpad_public_endpoint }}` |       Please make sure that you're proxying the `{{ matrix_etherpad_public_endpoint }}` | ||||||
|       URL endpoint to the matrix-etherpad container. |       URL endpoint to the matrix-etherpad container. | ||||||
|       You can expose the container's port using the `matrix_etherpad_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_etherpad_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_etherpad_enabled|bool and matrix_nginx_proxy_enabled is not defined" |   when: "matrix_etherpad_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -66,4 +66,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_registration_public_endpoint }}` |       Please make sure that you're proxying the `{{ matrix_registration_public_endpoint }}` | ||||||
|       URL endpoint to the matrix-registration container. |       URL endpoint to the matrix-registration container. | ||||||
|       You can expose the container's port using the `matrix_registration_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_registration_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_registration_enabled|bool and matrix_nginx_proxy_enabled is not defined" |   when: "matrix_registration_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
| @@ -57,4 +57,4 @@ | |||||||
|       Please make sure that you're proxying the `{{ matrix_synapse_admin_public_endpoint }}` |       Please make sure that you're proxying the `{{ matrix_synapse_admin_public_endpoint }}` | ||||||
|       URL endpoint to the matrix-synapse-admin container. |       URL endpoint to the matrix-synapse-admin container. | ||||||
|       You can expose the container's port using the `matrix_synapse_admin_container_http_host_bind_port` variable. |       You can expose the container's port using the `matrix_synapse_admin_container_http_host_bind_port` variable. | ||||||
|   when: "matrix_synapse_admin_enabled|bool and matrix_nginx_proxy_enabled is not defined" |   when: "matrix_synapse_admin_enabled|bool and not matrix_nginx_proxy_enabled|default(False)|bool" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user