Skip to content

Commit

Permalink
Add auth token for preflight mode in proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
gammaw committed Sep 23, 2022
1 parent 56c8ea9 commit da0220a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/https_arcsi.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ server {
add_header Access-Control-Allow-Origin '$http_origin' always;
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS, PUT, DELETE' always;
add_header Access-Control-Allow-Credentials 'true' always;
add_header Access-Control-Allow-Headers 'Origin,Content-Type,Accept' always;
add_header Access-Control-Allow-Headers 'Origin,Content-Type,Accept,Authentication-Token' always;
add_header Content-Length 0 always;
add_header Content-Type text/plain always;
return 204;
Expand Down

0 comments on commit da0220a

Please sign in to comment.