Skip to content

Commit

Permalink
add x_api_http_method to /auth (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper authored May 2, 2024
1 parent 262ffd3 commit cba8e7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nginx/nginx-ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@
auth_basic_user_file /etc/nginx/.htpasswd/webapp;
proxy_pass http://wis2box-webapp:4173/wis2box-webapp/;
}
location / {
proxy_pass http://wis2box-ui:80;
}
location /auth {
internal;
proxy_pass http://wis2box-auth:80/authorize;
proxy_pass_request_body off;
proxy_set_header Content-Length "";
proxy_set_header X-api-http-method $x_api_http_method;
proxy_set_header X-Original-URI $request_uri;
proxy_set_header Authorization $http_authorization;
proxy_pass_header Authorization;
}
location / {
proxy_pass http://wis2box-ui:80;
}
}

0 comments on commit cba8e7f

Please sign in to comment.