From 26d0f5e510ea7a433e02a09ad766ea25061fd53b Mon Sep 17 00:00:00 2001 From: Kenan Erdogan Date: Fri, 14 Feb 2020 10:29:26 +0100 Subject: [PATCH] Revert "allow OPTIONS method, for: https://github.com/jupyterhub/mybinder.org-deploy/issues/1344" This reverts commit 7f8d52b24e0ffd88e3405e73e65d1abbba1646a0. --- load_balancer/sites-available/gesis_mybinder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/load_balancer/sites-available/gesis_mybinder b/load_balancer/sites-available/gesis_mybinder index 973ef8f9..53555891 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 OPTIONS { + limit_except GET { deny all; } # https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS @@ -39,7 +39,7 @@ server { } location /build/ { - limit_except GET OPTIONS { + limit_except GET { deny all; } add_header "Access-Control-Allow-Origin" *;