-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
68 lines (55 loc) · 1.95 KB
/
env.example
File metadata and controls
68 lines (55 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# NASMServer configuration
# Copy this file to .env and adjust values as needed.
# You can also pass a path to a config file as -e: ./nasmserver -e /path/to/config.env
# Lines starting with # are ignored. No CRLF support (LF only).
# Uncomment the lines and change their value to make them effective
# All text values have a limit of 128 characters.
# IPv4 address to bind to
# Default: 0.0.0.0
#BIND_ADDRESS=<IPv4 Address>
# Port to listen on
# Default: 8080
#PORT=<1-65535>
# Document root directory, no trailing slash
# Default: . (working directory)
DOCUMENT_ROOT=./www
# Default file to serve when a directory is requested (e.g. / -> /index.html)
# Default: index.html
#INDEX_FILE=<file>
# Value for the Server: response header
# Default: NASMServer/version
#SERVER_NAME=<name>
# Max simultaneous connections/processes (1-65535)
# Default: 20
#MAX_REQUESTS=<1-65535>
# Cache expiry offset in seconds for the Expires: header
# If set to zero, an additional Pragma: no-cache header will be sent
# Default: 600
#MAX_AGE=<0-4294967295>
# Basic authentication settings
# If the user is set, authentication is enabled
# Default: (disabled)
#AUTH_USER=<username>
# Default: (empty)
#AUTH_PASSWORD=<password>
# Default: None
#AUTH_REALM=<realm>
# If dotfiles or dotfolders should be served
# Default: false
#SERVE_DOTS=<true|false>
# Path to log file for request logs (full path required)
# If set, request logs are written to this file instead of STDOUT
# Default: (empty)
#LOG_FILE=<path>
# Use the X-Real-IP header for logging instead of the remote socket address
# Useful when running the server behind a reverse proxy (like Nginx)
# Default: false
#USE_X_REAL_IP=<true|false>
# Error document paths, relative to DOCUMENT_ROOT
# Must start with a slash. Leave empty to send headers only (no body).
# Default: (empty)
ERRORDOC_405=/@errordocs/405.html
ERRORDOC_404=/@errordocs/404.html
ERRORDOC_403=/@errordocs/403.html
ERRORDOC_401=/@errordocs/401.html
ERRORDOC_400=/@errordocs/400.html