mirror of https://github.com/Aidaho12/haproxy-wi
parent
aac1335506
commit
228bc5418a
|
@ -68,6 +68,11 @@ For Apache do virtualhost with cgi-bin. Like this:
|
|||
</FilesMatch>
|
||||
</VirtualHost>
|
||||
```
|
||||
# Doker
|
||||
```
|
||||
docker service create --detach=false --name haproxy-wi --mount type=volume,src=haproxy-wi,dst=/var/www/haproxy-wi/app -p 8080:80 aidaho/haproxy-wi
|
||||
```
|
||||
|
||||
# Database support
|
||||
|
||||
Default Haproxy-WI use Sqlite, if you want use MySQL enable in config, and create database:
|
||||
|
|
|
@ -57,7 +57,7 @@ else
|
|||
yum -y install epel-release
|
||||
fi
|
||||
|
||||
yum -y install git ncat net-tools lshw python34 dos2unix python34-pip httpd mod_ssl gcc python34-devel
|
||||
yum -y install git nmap-ncat net-tools lshw python34 dos2unix python34-pip httpd mod_ssl gcc python34-devel
|
||||
HTTPD_CONFIG="/etc/httpd/conf/httpd.conf"
|
||||
HAPROXY_WI_VHOST_CONF="/etc/httpd/conf.d/haproxy-wi.conf"
|
||||
HTTPD_NAME="httpd"
|
||||
|
|
Loading…
Reference in New Issue