Comments (6)
Sure - just let me know in case you need any details. In the meantime, I'll try to provide meaningful info best-efford-wise:
This is my docker-compose.yml:
---
version: '2'
services:
zoonavigator:
image: elkozmon/zoonavigator:latest
hostname: zoonavigator
container_name: zoonavigator
restart: unless-stopped
ports:
- 9000
environment:
HTTP_PORT: 9000
VIRTUAL_HOST: deb11zk03.zen-net.de
VIRTUAL_PORT: 9000
CONNECTION_DEFAULT_CONN: 172.28.128.40:2181,172.28.128.42:2181,172.28.128.41:2181
CONNECTION_DEFAULT_NAME: Zen-Net DEV
nginx:
image: nginxproxy/nginx-proxy
container_name: nginx
restart: unless-stopped
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /etc/nginx/virtual_host_htpasswds:/etc/nginx/htpasswd:ro
environment:
ENABLE_IPV6: 'true'
DEFAULT_HOST: deb11zk03.zen-net.de
The nginxproxy/nginx-proxy
-Image picks up files from /etc/nginx/htpasswd
, which are named like the ${VIRTUAL_HOST}
-Variable of the to-be-proxied - hosts, which is deb11zk03.zen-net.de
in this case. So I added a htaccess - file at /etc/nginx/virtual_host_htpasswds/deb11zk03.zen-net.de
on the Docker host, which ends up as /etc/nginx/htpasswd/deb11zk03.zen-net.de
in the container.
With that, Basic auth works, but leads to the shown error in Zoonavigator.
from zoonavigator.
Hi. I just want to let you know that I have successfully tested your scenario with nginx proxy and basic auth. The fix is being released in version 1.1.1
.
from zoonavigator.
from zoonavigator.
Is anything missing or may I help by providing additional details? In our Infrastructure, this is what blocks us from using the tool, currently.
from zoonavigator.
Sorry for the late reply and thank you for all the info provided.
From what I gathered, the use of basic auth proxy is currently broken. In this setup both nginx and zoonavigator use the Authorization header overwriting each other, hence the error. Quick fix seems to be to use custom authorization header for zoonavigator (unless there's other way to configure this on nginx's end which I'm not aware of). Sorry for not catching that earlier.
I understand the importance of this issue for you and would love to fix it asap. Sadly, it may take me a two to four weeks to be able to properly get on with this and test it thoroughly since this is just my free-time project and still have lot to catch up in my "real" job (I don't want to roll out a quick fix that can break a lot of other things for current users). I will update this thread with any news I have.
from zoonavigator.
Hi @elkozmon ,
just wanted to confirm that this is fixed! Works like a charm; thanks for your efforts!
from zoonavigator.
Related Issues (20)
- Using SSL artifacts to connect to a secure ZK HOT 1
- Export zookeeper config with plain text format in a file HOT 5
- Znode data search functionality
- Kerberos principal as a user connecting to ZK HOT 4
- Does zookeeper 3.7.0 currently support? HOT 3
- ACL Authentication for SASL HOT 3
- Provide more details for `CONNECTION_<ID>_AUTH_<AUTHID>_(SCHEME|ID)` in docs HOT 2
- Make connection to ZK with SSL failed HOT 1
- Zookeeper 3.7 test succeeded (docker compose) HOT 1
- Remove Log4j 1.2.x from Dependencies HOT 2
- Not Able To Export Zookeeper nodes due to Error java.lang.IllegalStateException: Client is not started HOT 1
- Unable to to connect to zookeeper from zoonavigator HOT 1
- liquid template engine support
- Arm64 support HOT 6
- Security: Default startup should only listen on localhost, and should not run as root HOT 1
- Can not build: the version of node.js should be bump to at least 14.20.0 HOT 1
- Zoonavigator upgrade due to EOL versions of software, Kubernetes cgroupv2 problems & potential security vulnerabilities HOT 1
- Binary file in Zoonavigator HOT 7
- How to upload and download large files 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 zoonavigator.