wiki:allowing_cors_requests
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:allowing_cors_requests [2026/09/15 10:38] – [nginx] added https:// part in nginx example antisa | wiki:allowing_cors_requests [2026/09/15 10:54] (current) – [Allowing CORS requests] add info about only needing one type of requests antisa | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| Below is a config for preflighted and simple requests which will allow requests (e.g. from fetch function in browser console) from **example.org** domain to the domain **example.com** | Below is a config for preflighted and simple requests which will allow requests (e.g. from fetch function in browser console) from **example.org** domain to the domain **example.com** | ||
| + | |||
| + | <WRAP center round info 60%> | ||
| + | You might only need the preflighted requests (if clause) if you notice duplicate **access-control-** headers being returned. | ||
| + | </ | ||
| + | |||
| ===== nginx ===== | ===== nginx ===== | ||
wiki/allowing_cors_requests.txt · Last modified: by antisa
