Browse Source

add GET to allowed methods

feat/clarity-updates
Reed Rosenbluth 5 years ago
parent
commit
487e765768
  1. 2
      _storage/digital-ocean-deploy.md

2
_storage/digital-ocean-deploy.md

@ -500,7 +500,7 @@ In this task, you set up a simple Nginx reverse proxy to serve your Docker conta
if ($request_method = 'OPTIONS') {
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-Max-Age: 21600';
more_set_headers 'Content-Type: text/plain charset=UTF-8';

Loading…
Cancel
Save