diff --git a/config_other/Dockerfile b/config_other/Dockerfile index 11171cd4..f10d9f63 100644 --- a/config_other/Dockerfile +++ b/config_other/Dockerfile @@ -11,9 +11,7 @@ ENV MYSQL_DB "haproxywi" ENV MYSQL_HOST 127.0.0.1 # Copy external files -RUN pwd -RUN ls -COPY /haproxy-wi/config_other/httpd/haproxy-wi.conf /etc/httpd/conf.d/haproxy-wi.conf +COPY haproxy-wi.conf /etc/httpd/conf.d/haproxy-wi.conf # Yum clean cache RUN yum remove epel-release && \ diff --git a/config_other/haproxy-wi.conf b/config_other/haproxy-wi.conf new file mode 100644 index 00000000..cf9485a6 --- /dev/null +++ b/config_other/haproxy-wi.conf @@ -0,0 +1,44 @@ + + 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/" + + + + Options +ExecCGI + AddHandler cgi-script .py + Order deny,allow + Allow from all + + + + Options +ExecCGI -Indexes +MultiViews + Order Deny,Allow + Deny from all + + + + Options +ExecCGI -Indexes +MultiViews + Order Deny,Allow + Deny from all + + + + Order Deny,Allow + Deny from all + + + + Order Deny,Allow + Deny from all + +