From 58e1a6ef6c9ea7e92ddb443cd54e8377ee823153 Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Jul 21 2020 22:02:21 +0000 Subject: Fix the try_files to access the correct location --- 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