indent fixed

This commit is contained in:
x 2024-06-23 20:08:44 +02:00
parent 9aa2193149
commit 937f6e2ff8

View File

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