From e72ca3b1db45212ba31b6d6ed9a7365ad6d752fa Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Jul 21 2020 22:20:52 +0000 Subject: Merge branch 'hellcp/tsp-fixup' into 'production' Fix the try_files to access the correct location See merge request infra/salt!428 --- diff --git a/pillar/role/web_tsp.sls b/pillar/role/web_tsp.sls index 4090f09..574f603 100644 --- a/pillar/role/web_tsp.sls +++ b/pillar/role/web_tsp.sls @@ -24,7 +24,7 @@ nginx: - server_name: tsp.opensuse.org - root: /srv/www/travel-support-program/public - keepalive_timeout: 5 - - try_files $uri/index.html $uri @app + - try_files $uri/index.html $uri @tsp - location @tsp: - proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for - proxy_set_header: Host $http_host