From 2108f905845a3bed1e0e37cc64f94988a75f6290 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Sat, 2 Nov 2024 16:33:47 +0100 Subject: [PATCH] Change forwarding for SpaceAPI according to the new service --- host-pottwal.yml | 2 ++ templates/pottwal/spaceapi-apache-site.j2 | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/host-pottwal.yml b/host-pottwal.yml index 8d7ea6d..f2cff3e 100644 --- a/host-pottwal.yml +++ b/host-pottwal.yml @@ -634,6 +634,8 @@ site_name: "spaceapi.n39.eu" proxy_preserve_host: "On" notify: Restart apache2 + tags: + - spaceapi - name: Ensure renovate bot cronjob is present ansible.builtin.template: diff --git a/templates/pottwal/spaceapi-apache-site.j2 b/templates/pottwal/spaceapi-apache-site.j2 index 5d6961d..9959e90 100644 --- a/templates/pottwal/spaceapi-apache-site.j2 +++ b/templates/pottwal/spaceapi-apache-site.j2 @@ -44,9 +44,9 @@ RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS} ProxyPreserveHost {{ proxy_preserve_host | default("Off") }} - ProxyPass /json http://172.23.48.7/spaceapi - ProxyPass /text http://172.23.48.7/state.txt - ProxyPass /state.png http://172.23.48.7/state.png + ProxyPass /json http://172.23.48.7:8001/json + ProxyPass /text http://172.23.48.7:8001/text + ProxyPass /state.png http://172.23.48.7:8001/state.png