Skip to content

Commit 3957b46

Browse files
Update BunkerWeb installation scripts and configuration to follow the official documentation for the latest version (#2466)
1 parent 54929e4 commit 3957b46

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

ct/bunkerweb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
88
APP="BunkerWeb"
99
var_tags="webserver"
1010
var_cpu="2"
11-
var_ram="1024"
11+
var_ram="4096"
1212
var_disk="4"
1313
var_os="debian"
1414
var_version="12"
@@ -34,7 +34,7 @@ Pin: version ${RELEASE}
3434
Pin-Priority: 1001
3535
EOF
3636
apt-get update
37-
apt-get install -y nginx=1.26.2*
37+
apt-get install -y nginx=1.26.3*
3838
apt-get install -y bunkerweb=${RELEASE}
3939
echo "${RELEASE}" >/opt/${APP}_version.txt
4040
msg_ok "Updated ${APP} to ${RELEASE}"

install/bunkerweb-install.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ msg_info "Installing Nginx"
2626
wget -qO- https://nginx.org/keys/nginx_signing.key | gpg --dearmor >/usr/share/keyrings/nginx-archive-keyring.gpg
2727
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/debian $(lsb_release -cs) nginx" >/etc/apt/sources.list.d/nginx.list
2828
$STD apt-get update
29-
$STD apt-get install -y nginx=1.26.2*
29+
$STD apt-get install -y nginx=1.26.3*
3030
msg_ok "Installed Nginx"
3131

3232
RELEASE=$(curl -s https://api.github.com/repos/bunkerity/bunkerweb/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
3333
msg_info "Installing BunkerWeb v${RELEASE} (Patience)"
3434
curl -fsSL "https://repo.bunkerweb.io/bunkerity/bunkerweb/gpgkey" | gpg --dearmor >/etc/apt/keyrings/bunkerity_bunkerweb-archive-keyring.gpg
3535
echo "deb [signed-by=/etc/apt/keyrings/bunkerity_bunkerweb-archive-keyring.gpg] https://repo.bunkerweb.io/bunkerity/bunkerweb/debian/ bookworm main" >/etc/apt/sources.list.d/bunkerity_bunkerweb.list
3636
$STD apt-get update
37-
export UI_WIZARD=1
3837
$STD apt-get install -y bunkerweb=${RELEASE}
3938
cat <<EOF >/etc/apt/preferences.d/bunkerweb
4039
Package: bunkerweb

json/bunkerweb.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
"interface_port": null,
1212
"documentation": null,
1313
"website": "https://www.bunkerweb.io/",
14-
"logo": "https://raw.githubusercontent.com/bunkerity/bunkerweb/v1.5.7/misc/logo.png",
14+
"logo": "https://raw.githubusercontent.com/bunkerity/bunkerweb/master/misc/logo.png",
1515
"description": "BunkerWeb is a security-focused web server that enhances web application protection. It guards against common web vulnerabilities like SQL injection, XSS, and CSRF. It features simple setup and configuration using a YAML file, customizable security rules, and provides detailed logs for traffic monitoring and threat detection.",
1616
"install_methods": [
1717
{
1818
"type": "default",
1919
"script": "ct/bunkerweb.sh",
2020
"resources": {
2121
"cpu": 2,
22-
"ram": 1024,
22+
"ram": 4096,
2323
"hdd": 4,
2424
"os": "debian",
2525
"version": "12"

0 commit comments

Comments
 (0)