master
parados.conf
1# parados.conf
2# This is the parados configuration file.
3# Manual available at parados.conf(5)
4
5# *General*
6
7# Directory containing media files.
8#media_dir=/var/media
9media_dir=/path/to/media
10
11# Address to bind the HTTP server to.
12# Use 0.0.0.0 to listen on all interfaces.
13#
14# It is recommended to bind on 127.0.0.1 and
15# host the WebUI on the same network if you
16# are using one.
17#
18#server_addr=0.0.0.0
19server_addr=127.0.0.1
20
21# TCP port to listen on.
22server_port=8088
23
24# Enable verbose logging information.
25#verbose_log=true
26verbose_log=false
27
28# *Security*
29
30# Cross-Origin Resource Sharing (CORS).
31#
32# Controls which web origins may access the API.
33#
34# Empty value disables CORS.
35# "*" allows all origins (not recommended).
36# Otherwise, specify a comma separated list of allowed origins.
37#
38#cors_origin=http://127.0.0.1:8000
39cors_origin=
40
41# *Resource Limits*
42
43# HTTP IO timeout (in seconds).
44#
45# Limits how long the server will block on a single socket read/write.
46# This does not apply for requests/streaming.
47# If a client stops sending data or stops reading responses for longer
48# than this value, the connection is dropped.
49#
50# Recommended: LAN=5, WAN/VPN/Mobile=15-30
51http_io_timeout=5
52
53# Max Clients
54#
55# Limits the maximum number of simultaneous client connections
56# handled by the server.
57max_clients=64
58
59# *Authentication*
60
61# Delay (in ms) before returning 401 Unauthorized.
62# Can help slow down brute force login attempts.
63# 0 disables delay.
64auth_delay=250
65
66# Each entry consists of one `user`, `pass`, and (multiple) `allow` directives.
67# Multiple users are permitted.
68#
69# For example:
70#
71# user=glenda
72# pass=pass123
73# allow=Media/
74# allow=Music/
75#
76# user=bob
77# pass=
78# allow=TV/NBA/
79#
80# is valid.
81#
82# `pass` may be empty to disable authentication for that entry.
83#
84# `allow` specifies which directories a user is permitted to access.
85# Use "*" to allow all directories, or multiple `allow` lines with
86# each directory specified.
87user=admin
88pass=
89allow=
90