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; } ```