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