forked from sdr-enthusiasts/docker-planefence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
88-planefence-on-host.conf
19 lines (19 loc) · 1.05 KB
/
88-planefence-on-host.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# lighttpd configuration for docker-planefence
#
# How to deploy the webservice:
# 1. Install lighttpd: sudo apt-get install lighttpd
# 2. Add this file (using "sudo cp") to /etc/lighttpd/conf-available
# If you are reading this on the web, you can also directly get the file from Github using this command on the host machine:
# sudo curl -s https://raw.githubusercontent.com/kx1t/docker-planefence/master/88-planefence-on-host.conf > /etc/lighttpd/conf-available/88-planefence.conf
# 3. Activate it in lighttpd with "sudo lighty-enable-mod planefence"
# 4. Restart lighttpd with "sudo systemctl restart lighttpd"
# 5. Make sure that the following directory exists and is writable before deploying your container:
# /opt/planefence/Volumes/html
# (You can change this directory in the docker-compose.yml file -- if you do so, also change it below)
#
# redirect the slash-less URL:
url.redirect += ( "^/planefence$" => "/planefence/" )
# point http://xx/planefence to the correct directory:
alias.url += (
"/planefence/" => "/opt/planefence/Volumes/html/"
)