mirror of https://github.com/Aidaho12/haproxy-wi
v3.4.9.3
parent
b216127d01
commit
15ae1ad0cf
|
@ -11,7 +11,7 @@ ENV MYSQL_DB "haproxywi"
|
|||
ENV MYSQL_HOST 127.0.0.1
|
||||
|
||||
# Copy external files
|
||||
COPY haproxy-wi.conf /etc/httpd/conf.d/haproxy-wi.conf
|
||||
COPY httpd/haproxy-wi.conf /etc/httpd/conf.d/haproxy-wi.conf
|
||||
|
||||
# Yum clean cache
|
||||
RUN yum remove epel-release && \
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
<VirtualHost *:443>
|
||||
SSLEngine on
|
||||
SSLCertificateFile /var/www/haproxy-wi/app/certs/haproxy-wi.crt
|
||||
SSLCertificateKeyFile /var/www/haproxy-wi/app/certs/haproxy-wi.key
|
||||
|
||||
ServerName haprox-wi.example.com
|
||||
ErrorLog /var/log/httpd/haproxy-wi.error.log
|
||||
CustomLog /var/log/httpd/haproxy-wi.access.log combined
|
||||
TimeOut 600
|
||||
LimitRequestLine 16380
|
||||
|
||||
DocumentRoot /var/www/haproxy-wi
|
||||
ScriptAlias /cgi-bin/ "/var/www/haproxy-wi/app/"
|
||||
|
||||
|
||||
<Directory /var/www/haproxy-wi/app>
|
||||
Options +ExecCGI
|
||||
AddHandler cgi-script .py
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Directory /var/www/haproxy-wi/app/certs>
|
||||
Options +ExecCGI -Indexes +MultiViews
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
</Directory>
|
||||
|
||||
<Directory /var/www/haproxy-wi/keys>
|
||||
Options +ExecCGI -Indexes +MultiViews
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
</Directory>
|
||||
|
||||
<FilesMatch "\.cfg$">
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
|
||||
<FilesMatch "\.db$">
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
</VirtualHost>
|
Loading…
Reference in New Issue