Skip to content

Commit

Permalink
Fix api routing again (#1293)
Browse files Browse the repository at this point in the history
Co-authored-by: Leland Garofalo <[email protected]>
  • Loading branch information
2 people authored and Leland Garofalo committed Aug 25, 2023
1 parent 2c2322e commit 8cf0cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/tiller/templates/askdarcel-web.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ server {
resolver <%= open('/etc/resolv.conf').read.match(/nameserver (.*)/)[1] rescue '8.8.8.8' %>;
resolver_timeout 5s;

set api_url <%= env_api_go_url.chomp '/' %>;
proxy_pass $api_url/api/$1$is_args$args;
set api_go_url <%= env_api_go_url.chomp '/' %>;
proxy_pass $api_go_url/api/$1$is_args$args;
proxy_redirect off;
}

Expand Down

0 comments on commit 8cf0cdc

Please sign in to comment.