diff options
-rw-r--r-- | nginx_config | 8 |
1 files 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 name>; - # server's TLS cert+key + # server's TLS cert+key ssl_certificate <path to TLS cert>; ssl_certificate_key <path to TLS key>; #ssl_dhparam <path to DH params, optional>; @@ -21,8 +21,8 @@ server { ssl_client_certificate <path to CA for client certs>; 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 } |