From 937f6e2ff8fb6e2cb0ae9892adeeba2a25209733 Mon Sep 17 00:00:00 2001 From: x Date: Sun, 23 Jun 2024 20:08:44 +0200 Subject: [PATCH] indent fixed --- README.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d60bb91..c3c4d9e 100644 --- a/README.md +++ b/README.md @@ -13,27 +13,26 @@ Specify a your personal auth token in your mpv.conf then; ```json map $http_useragent $auth { - default 0; - "your custom user agent (for example a 128 char string or more or less)" 1; + default 0; + "your custom user agent (for example a 128 char string or more or less)" 1; } - ``` `sudo vim your-vhost-config.conf` ```json location /private-location/ { - if ($auth = 0) { - ## UNAUTHORIZED - # for example return to a location or 403 - #return 302 /dl/; - return 403; - } + if ($auth = 0) { + ## UNAUTHORIZED + # for example return to a location or 403 + #return 302 /dl/; + return 403; + } - ## AUTHORIZED - # for example publish your file server or return - #proxy_pass http://backend/; - return 200; + ## AUTHORIZED + # for example publish your file server or return + #proxy_pass http://backend/; + return 200; } ```