Skip to content

Commit

Permalink
also works. which makes slightly more sense, but not much
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Sep 20, 2024
1 parent 6e96cdd commit 5f2e6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/nginx/odk.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ server {
add_header Strict-Transport-Security "max-age=63072000" always;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options nosniff;
}

location ~ ^/v\d {
# transparently follow 307 redirects
# See: https://serverfault.com/a/792035
proxy_intercept_errors on;
error_page 307 = @transparent_proxy_no_auth;
}

location ~ ^/v\d {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://service:8383;
proxy_redirect off;
Expand Down

0 comments on commit 5f2e6cd

Please sign in to comment.