mirror of https://github.com/Aidaho12/haproxy-wi
parent
01105673e8
commit
42a683ce0b
25
README.md
25
README.md
|
@ -89,10 +89,27 @@ For Apache do virtualhost with cgi-bin. Like this:
|
|||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<FilesMatch "\.config$">
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
<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>
|
||||
```
|
||||
# Docker
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
<link href="/inc/vertical_scrol/custom_scrollbar.css" rel="stylesheet">
|
||||
<link href="/inc/style.css" rel="stylesheet">
|
||||
<link href="/inc/nprogress.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/inc/jquery-ui.css">
|
||||
<script src="/inc/jquery-1.12.4.js"></script>
|
||||
<script src="/inc/jquery-ui.js"></script>
|
||||
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
|
||||
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
||||
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
||||
<script src="/inc/js-cookie.js"></script>
|
||||
<script src="/inc/script.js"></script>
|
||||
<script src="/inc/nprogress.js"></script>
|
||||
|
@ -115,7 +115,7 @@
|
|||
</ul>
|
||||
</nav>
|
||||
<div class="copyright-menu">
|
||||
<a href="https://github.com/aidaho12/haproxy-wi/" title="Github repo" target="_blank" style="color: #fff">HAproxy-WI v3.4.4.2</a>
|
||||
<a href="https://github.com/aidaho12/haproxy-wi/" title="Github repo" target="_blank" style="color: #fff">HAproxy-WI v3.4.4.3</a>
|
||||
<br>
|
||||
<a href="https://www.patreon.com/haproxy_wi" title="Donate" target="_blank" style="color: #fff; margin-left: 30px; color: red;" class="patreon"> Patreon</a>
|
||||
</div>
|
||||
|
|
29
install.sh
29
install.sh
|
@ -144,17 +144,34 @@ cat << EOF > $HAPROXY_WI_VHOST_CONF
|
|||
ScriptAlias /cgi-bin/ "/var/www/$HOME_HAPROXY_WI/app/"
|
||||
|
||||
|
||||
<Directory /var/www/$HOME_HAPROXY_WI/app>
|
||||
<Directory /var/www/$HOME_HAPROXY_WI/app>
|
||||
Options +ExecCGI
|
||||
AddHandler cgi-script .py
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<FilesMatch "\.config$">
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
<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>
|
||||
EOF
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue