aboutsummaryrefslogtreecommitdiff
path: root/nginx_config
diff options
context:
space:
mode:
Diffstat (limited to 'nginx_config')
-rw-r--r--nginx_config3
1 files changed, 1 insertions, 2 deletions
diff --git a/nginx_config b/nginx_config
index e6081ba..8a70167 100644
--- a/nginx_config
+++ b/nginx_config
@@ -22,8 +22,7 @@ server {
ssl_verify_client on;
# only allow upload requests
- # TODO: handle DELETE
- if ($request_method !~ ^(POST|PUT)$) {
+ if ($request_method !~ ^(POST|PUT|DELETE)$) {
return 405; # Method Not Allowed
}