Commit 60defe8f8ce20fc25a163d841b2025d7048f48b7
1 parent
ecf3c7d46a
Exists in
master
how does nginx work, part 3
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
nginxconf/flashy.cards
View file @
60defe8
... | ... | @@ -26,7 +26,7 @@ |
26 | 26 | add_header 'Access-Control-Allow-Origin' 'http://localhost'; |
27 | 27 | add_header 'Access-Control-Allow-Credentials' 'true'; |
28 | 28 | add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PATCH, PUT'; |
29 | - add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,Origin,Authorization,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'; | |
29 | + add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,Origin,Authorization,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-CSRFToken'; | |
30 | 30 | proxy_pass http://backend_production; |
31 | 31 | proxy_redirect http://backend_production $scheme://flashy.cards; |
32 | 32 | proxy_set_header Host $host; |