Skip to content

Commit

Permalink
fix: anonymous database access
Browse files Browse the repository at this point in the history
  • Loading branch information
akdasa committed Nov 2, 2024
1 parent c7460c4 commit 5db3d80
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion envs/dev/services-database.endpoint.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ location /database/_utils {

location /database {
auth_jwt_enabled off;
proxy_set_header Authorization "Bearer $auth_token";
set $upstream_host "http://database:5984";
proxy_pass $upstream_host;
rewrite ^/database/(.*) /$1 break;
Expand Down
1 change: 0 additions & 1 deletion envs/prod/services-database.endpoint.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ location /database/_utils {

location /database {
auth_jwt_enabled off;
proxy_set_header Authorization "Bearer $auth_token";
set $upstream_host "http://database:5984";
proxy_pass $upstream_host;
rewrite ^/database/(.*) /$1 break;
Expand Down

0 comments on commit 5db3d80

Please sign in to comment.