From ec3d3c8c1f9e735ed49075ce22eef70512c9d717 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 6 Apr 2020 15:21:06 +0200 Subject: nginx_config: remove tabs --- nginx_config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nginx_config b/nginx_config index 6e30ad4..e6081ba 100644 --- a/nginx_config +++ b/nginx_config @@ -8,11 +8,11 @@ upstream dash_server_py { # this server handles media ingest # authentication is handled throught TLS client certificates server { - # network config + # network config listen [::]:8001 ssl default_server; server_name ; - # server's TLS cert+key + # server's TLS cert+key ssl_certificate ; ssl_certificate_key ; #ssl_dhparam ; @@ -21,8 +21,8 @@ server { ssl_client_certificate ; ssl_verify_client on; - # only allow upload requests - # TODO: handle DELETE + # only allow upload requests + # TODO: handle DELETE if ($request_method !~ ^(POST|PUT)$) { return 405; # Method Not Allowed } -- cgit v1.2.3