aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-04-06 15:21:06 +0200
committerAnton Khirnov <anton@khirnov.net>2020-04-06 15:21:06 +0200
commitec3d3c8c1f9e735ed49075ce22eef70512c9d717 (patch)
tree674225af7f9f925ff9b6fa10ebeaedb552c1f287
parentb87b3ca2937fa4b24f8fc1627bdacad6194dcd59 (diff)
nginx_config: remove tabs
-rw-r--r--nginx_config8
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
}