Skip to content

Problems with CORS and Reverse Proxy #1556

Closed Answered by CommanderStorm
mfbehrens asked this question in Q&A
Discussion options

You must be logged in to vote

just a hunch (and simple to try out => lets try this first)
Could you try the following

- add_header 'Access-Control-Allow-Methods' 'GET';
- add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type';
+ add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS';
+ add_header 'Access-Control-Allow-Headers' 'Authorization,Content-Type,Keep-Alive,If-Modified-Since,Cache-Control,ETag';

the cors caching from https://serverfault.com/a/716283 might also be helpfull.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by CommanderStorm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants