shunfei / aproxy Goto Github PK
View Code? Open in Web Editor NEWaproxy is a reverse proxy that includes authentication
aproxy is a reverse proxy that includes authentication
I'm running this to create a user:
./bin/adduser -c conf/aproxy.toml -action adduser -email [email protected] -pwd pass1234
2015/10/03 08:17:01 MongoUserStorage GetByEmail [[email protected]] Error: not authorized for query on aproxy.User
2015/10/03 08:17:01 add user error: not authorized for insert on aproxy.User
这个 使用aproxy对cronsun做域名限制访问,cronsun是基于ip地址访问,在aproxy里面添加限制访问之后,通过域名做访问,还需要在nginx上面做代理吗。还是只在aproxy写规则即可
One interesting thing would be instead of relying on a database for the users and passwords would be to use OAUTH 2. Then aproxy could have a pure user/roles map and use the OAUTH 2 public key to verify the user instead of relying on a custom password database.
This is an OAUTH 2.0 / OIDC provider written in Go if this seems interesting: github.com/coreos/dex
include proxy.conf; in nginx config
nginx: [emerg] open() "/etc/nginx/proxy.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/proxy.conf:6
nginx: configuration file /etc/nginx/nginx.conf test failed
So,
I'm trying to get this running in a docker container but to get a account created I must run in the command line using the aproxy cli client. Any suggestions?
How to specify the mongdb user and password in the configration file,there are only the dbserver addr and the db name in the sample configration file?like the below:
[db]
[db.mongo]
servers = ["127.0.0.1:27017"]
db = "aproxy"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.