|
@ -500,7 +500,7 @@ In this task, you set up a simple Nginx reverse proxy to serve your Docker conta |
|
|
|
|
|
|
|
|
if ($request_method = 'OPTIONS') { |
|
|
if ($request_method = 'OPTIONS') { |
|
|
more_set_headers 'Access-Control-Allow-Origin: *'; |
|
|
more_set_headers 'Access-Control-Allow-Origin: *'; |
|
|
more_set_headers 'Access-Control-Allow-Methods: POST, OPTIONS, DELETE'; |
|
|
more_set_headers 'Access-Control-Allow-Methods: GET, POST, OPTIONS, DELETE'; |
|
|
more_set_headers 'Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, authorization, If-Match'; |
|
|
more_set_headers 'Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, authorization, If-Match'; |
|
|
more_set_headers 'Access-Control-Max-Age: 21600'; |
|
|
more_set_headers 'Access-Control-Max-Age: 21600'; |
|
|
more_set_headers 'Content-Type: text/plain charset=UTF-8'; |
|
|
more_set_headers 'Content-Type: text/plain charset=UTF-8'; |
|
|