diff --git a/nginx.conf b/nginx.conf index 034204b..01413d0 100644 --- a/nginx.conf +++ b/nginx.conf @@ -41,6 +41,11 @@ server { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Headers' '*'; add_header 'Access-Control-Allow-Credentials' 'true'; + add_header 'Allow' 'POST, GET, OPTIONS'; + + if ($request_method = 'OPTIONS' ) { + return 200; + } location / { proxy_pass http://pinky.ralsina.github.beta.tailscale.net:8082;