forked from Dynamedia/docker-reverse-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env-example
64 lines (50 loc) · 1.65 KB
/
.env-example
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
### Nginx config
# Change these if you want to use mounted directories and have them match your host user
USER_NAME=www-data
USER_GROUP=www-data
USER_UID=1000
USER_GID=1000
# Usually set to number of available cores you want to use
NGINX_WORKER_PROCESSES=1
# on, off - Delete /etc/nginx/sites-enabled/default.conf & upstream.conf - Useful if using another container to manage configuration
# Dont enable this if you're using your own mounted configuration (you probably should be)
REMOVE_INITIAL_CONFIG=on
# on, off
PROXY_CACHE_STATUS=off
# on, off - Redirect from www -> non-www or non-www -> www
PREFER_WWW=off
### Php upstream
# If running alongside a php fpm container we can add it as upstream
PHP_UPSTREAM_CONTAINER=
PHP_UPSTREAM_PORT=
### Modsecurity
# on, off
MODSECURITY_STATUS=on
# DetectionOnly, On, Off
MODSECURITY_POLICY=On
### Brotli
# on, off
BROTLI_STATUS=on
BROTLI_STATIC_STATUS=on
# 0 to 11
BROTLI_COMP_LEVEL=4
# File types to compress
BROTLI_TYPES=text/plain text/css application/javascript application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript
### Gzip
# on, off
GZIP_STATUS=on
# 1 to 9
GZIP_COMP_LEVEL=1
# File types to compress
GZIP_TYPES=text/plain text/css application/javascript application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript
### Geoip2
# on, off
GEOIP2_STATUS=on
### Pagespeed
# on, off, standby, unplugged
PAGESPEED_STATUS=unplugged
# CoreFilters, PassThrough, OptimizeForBandwidth
PAGESPEED_REWRITE_LEVEL=CoreFilters
# See https://www.modpagespeed.com/doc/config_filters
PAGESPEED_ENABLE_FILTERS=
PAGESPEED_DISABLE_FILTERS=