mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 01:18:26 +00:00
enable bad behavior on default server and various k8s fixes
This commit is contained in:
parent
e295b020e4
commit
95c4ce723d
6 changed files with 13 additions and 3 deletions
|
|
@ -1,5 +1,8 @@
|
|||
server {
|
||||
|
||||
# reason variable
|
||||
set $reason '';
|
||||
|
||||
server_name _;
|
||||
|
||||
# HTTP listen
|
||||
|
|
|
|||
|
|
@ -72,4 +72,8 @@ function _M:log()
|
|||
return true, "success"
|
||||
end
|
||||
|
||||
function _M:log_default()
|
||||
return _M:log()
|
||||
end
|
||||
|
||||
return _M
|
||||
|
|
|
|||
1
core/whitelist/confs/default-server-http/whitelist.conf
Normal file
1
core/whitelist/confs/default-server-http/whitelist.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
set $is_whitelisted '';
|
||||
|
|
@ -5,4 +5,5 @@ if [ $(id -u) -ne 0 ] ; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
helm delete drupal
|
||||
helm delete drupal
|
||||
kubectl delete pvc data-drupal-mariadb-0
|
||||
|
|
@ -5,4 +5,5 @@ if [ $(id -u) -ne 0 ] ; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
helm delete wordpress
|
||||
helm delete wordpress
|
||||
kubectl delete pvc data-wordpress-mariadb-0
|
||||
|
|
@ -10,7 +10,7 @@ spec:
|
|||
- host: www.example.com
|
||||
http:
|
||||
paths:
|
||||
path: /
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
|
|
|
|||
Loading…
Reference in a new issue