mirror of https://github.com/Aidaho12/haproxy-wi
v3.4.9.3
parent
3e357909c0
commit
b216127d01
|
@ -11,9 +11,7 @@ ENV MYSQL_DB "haproxywi"
|
||||||
ENV MYSQL_HOST 127.0.0.1
|
ENV MYSQL_HOST 127.0.0.1
|
||||||
|
|
||||||
# Copy external files
|
# Copy external files
|
||||||
RUN pwd
|
COPY haproxy-wi.conf /etc/httpd/conf.d/haproxy-wi.conf
|
||||||
RUN ls
|
|
||||||
COPY /haproxy-wi/config_other/httpd/haproxy-wi.conf /etc/httpd/conf.d/haproxy-wi.conf
|
|
||||||
|
|
||||||
# Yum clean cache
|
# Yum clean cache
|
||||||
RUN yum remove epel-release && \
|
RUN yum remove epel-release && \
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
<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