diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2020-01-24 22:22:59 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2020-01-24 22:22:59 +0100 |
commit | 9b1c328251de090599479468b4985fc8c7e37154 (patch) | |
tree | 5fbe9da6fe877b23fbd04fb34b101b48f1a7c301 /nginx | |
parent | dcf78eb5687adce0ff124aa90df1787a9146bc57 (diff) | |
download | pillar-9b1c328251de090599479468b4985fc8c7e37154.tar.xz |
nginx/theos: Move rspamd section to correct server
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/theos_kyriasis_com.sls | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nginx/theos_kyriasis_com.sls b/nginx/theos_kyriasis_com.sls index 34ae2cd..e2801b6 100644 --- a/nginx/theos_kyriasis_com.sls +++ b/nginx/theos_kyriasis_com.sls @@ -87,6 +87,11 @@ nginx: - proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for - proxy_set_header: X-Forwarded-Host $server_name + - location /rspamd/: + - proxy_pass: http://localhost:11334/ + - proxy_set_header: Host $host + - proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for + - server: - server_name: h.theos.kyriasis.com @@ -134,10 +139,5 @@ nginx: - proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for - proxy_set_header: X-Forwarded-Host $server_name - - location /rspamd/: - - proxy_pass: http://localhost:11334/ - - proxy_set_header: Host $host - - proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for - # vim: ft=yaml et: |