Comments (7)
Hi @sbe-arg, yes you can. Are you creating the config via the web UI ?
Also it would really help if you could provide the following information:
- The version youβre using of BunkerWeb
- The integration youβre using
- Some system information like your OS
- Your BW configuration (e.g. : compose file, variables.env, β¦)
- Some logs if they are available
from bunkerweb.
Hi @sbe-arg, happy to hear you found a solution !
Enjoy bunkerizing your services π
from bunkerweb.
Was setting it up via docker compose.
Using the latest version and the autoconf
The host is ubuntu 22.04
Ill paste the template tomorrow I'm afk atm
from bunkerweb.
No worries, thank you for that information π
from bunkerweb.
In my direct attempts without NPM, directly exposing the http and https bunker ports loop crashes requesting the cert or certs if I add more sites. Basically same setup without the following block.
- USE_REAL_IP=yes
- USE_PROXY_PROTOCOL=yes
- REAL_IP_FROM=192.168.1.ip/32 # <<< the ip of the proxy manager
#- REAL_IP_HEADER=X-Forwarded-For # <<< I have no clue if I have explicitly set X-Forwarded-For in NPM
It relates to this topic. About how to place it behind NPM: #608
in NPM sub.domain.tld (handles the domain) > destination http://ip-bunkerweb:port
name: 'waf'
services:
bunkerweb:
image: bunkerity/bunkerweb:1.5.6
ports:
- 20080:8080 # triying to place it behind nginx proxy manager
- 20443:8443 # triying to place it behind nginx proxy manager
labels:
- "bunkerweb.INSTANCE=yes"
environment:
- USE_REAL_IP=yes
- USE_PROXY_PROTOCOL=yes
- REAL_IP_FROM=192.168.1.ip/32 # <<< the ip of the proxy manager
#- REAL_IP_HEADER=X-Forwarded-For # <<< I have no clue if I have explicitly set X-Forwarded-For in NPM
- API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24 192.168.1.0/24
- MULTISITE=yes
- SERVER_NAME=sub.domain.tld
- USE_REVERSE_PROXY=yes # Will be applied to all server config
- REVERSE_PROXY_URL=/ # Will be applied to all server config
- sub.domain.tld_REVERSE_PROXY_HOST=http://192.168.1.ip:port
networks:
- bw-universe
- bw-services
bw-scheduler:
image: bunkerity/bunkerweb-scheduler:1.5.6
depends_on:
- bunkerweb
- bw-docker
volumes:
- bw-data:/data
environment:
- DOCKER_HOST=tcp://bw-docker:2375
networks:
- bw-universe
- bw-docker
bw-docker:
image: tecnativa/docker-socket-proxy:nightly
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- CONTAINERS=1
- LOG_LEVEL=warning
networks:
- bw-docker
volumes:
bw-data:
networks:
bw-universe:
name: bw-universe
ipam:
driver: default
config:
- subnet: 10.20.30.0/24
bw-services:
name: bw-services
bw-docker:
name: bw-docker
from bunkerweb.
this is the lets encrypt crash
bunkerweb-1 | 2024/05/05 21:35:35 [error] 51#51: [LETSENCRYPT] error while reading files : /var/cache/bunkerweb/letsencrypt/etc/live/sub.domain.tld/fullchain.pem = /var/cache/bunkerweb/letsencrypt/etc/live/sub.domain.tld/fullchain.pem: No such file or directory
bunkerweb-1 | 2024/05/05 21:35:35 [error] 51#51: [INIT] letsencrypt:init() call failed : error reading files
from bunkerweb.
Actually.. big big apologies...
I had a block rule for the new host that I moved all containers to...
it now works fine π€¦
from bunkerweb.
Related Issues (20)
- [BUG] configs - cannot add multiple file on the same service_id HOT 3
- [BUG] K8S - Controller throws exception on reading ingress event in Managed K8S HOT 2
- [BUG] WebSocket Configuration - AutoConf HOT 2
- [BUG] upgrade 1.5.5 -> 1.5.6 SQL Errors HOT 10
- [BUG] Infinite page loading when using Chrome browser in developer mode HOT 4
- [BUG] exception while running mmdb-country.py HOT 3
- [BUG] changes are not saved HOT 7
- 1.5.6 virustotal plugin error HOT 1
- [license] is it ok to redistribute the maxmind mmdb files? HOT 2
- [FEATURE] Ability to export and import config via the Web UI
- [BUG] REVERSE_PROXY_WS not working in KUBERNETES_MODE HOT 6
- [BUG] Web UI unavailable after fresh install, Ubuntu 24.04, Linux Integration HOT 9
- [BUG] 500 error when accessing Web Bans page HOT 4
- [HELP] Custom certificates producing exceptions HOT 3
- [BUG] I'm testing this in a new instance and seems like lets encrypt does not work? HOT 1
- [DOC] nextcloud examples are out of date (compose)
- [FEATURE] Is there a way to deploy 2 services as reverse proxy where leaving a one without any protections and just bypassing everything HOT 4
- [FEATURE] hardened security on the 401 pages HOT 3
- [BUG] Incorrect nginx dependency for Ubuntu Noble package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bunkerweb.