fix reverse_proxy_bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace: uumas
|
namespace: uumas
|
||||||
name: general
|
name: general
|
||||||
version: 0.5.2
|
version: 0.5.3
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- uumas
|
- uumas
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
- name: Split legacy proxy_target to protocol, host and port
|
- name: Split legacy proxy_target to protocol, host and port
|
||||||
set_fact:
|
set_fact:
|
||||||
proxy_target_split_protocol: "{{ proxy_target.split('://') }}"
|
proxy_target_split_protocol: "{{ proxy_target.split('://') }}"
|
||||||
|
- set_fact:
|
||||||
proxy_target_split_host: "{{ (proxy_target_split_protocol | last).split(':') }}"
|
proxy_target_split_host: "{{ (proxy_target_split_protocol | last).split(':') }}"
|
||||||
|
- set_fact:
|
||||||
proxy_target_host: "{{ proxy_target_split_host[0] }}"
|
proxy_target_host: "{{ proxy_target_split_host[0] }}"
|
||||||
proxy_target_port: "{{ proxy_target_split_host[1] }}"
|
proxy_target_port: "{{ proxy_target_split_host[1] }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user