diff --git a/load_balancer/sites-available/gesis_mybinder b/load_balancer/sites-available/gesis_mybinder index 53555891..973ef8f9 100644 --- a/load_balancer/sites-available/gesis_mybinder +++ b/load_balancer/sites-available/gesis_mybinder @@ -26,7 +26,7 @@ server { location / { # https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301 - limit_except GET { + limit_except GET OPTIONS { deny all; } # https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS @@ -39,7 +39,7 @@ server { } location /build/ { - limit_except GET { + limit_except GET OPTIONS { deny all; } add_header "Access-Control-Allow-Origin" *;