mirror of https://github.com/Aidaho12/haproxy-wi
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
<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>
|