Comments (4)
Thanks. We're aware
from reverse-proxy-confs.
I know a little about nginx but I always want to learn.
Why is the config here still different then the example config on the vautlwarden wiki page?
More specific why are the following sections in the config?
- location ~ (/vaultwarden)?/api
- location ~ (/vaultwarden)?/notifications/hub
Thanks!
from reverse-proxy-confs.
I know a little about nginx but I always want to learn. Why is the config here still different then the example config on the vautlwarden wiki page? More specific why are the following sections in the config?
- location ~ (/vaultwarden)?/api
- location ~ (/vaultwarden)?/notifications/hub
Thanks!
Our configs all include commented lines that (when uncommented) grant you the ability to add an auth layer such as authentik or authelia (or others if you write the confs yourself). With either of those enabled, you would want the main web UI of any given app to be protected by the auth configs, but you would not want things like API or websockets (often used for client applications rather than web browsers to connect to the application) to be protected by the auth configs being enabled in your proxy. In this specific case, the api and notification hub endpoints are things used by clients (such as the bitwarden app or browser extension) and not necessarily by the web UI (although I think they might be used there too). The clients don't have a way to authenticate with any custom auth proxy confs (like authentik/authelia) or even to know about them, and they would just report an error in trying to connect to vaultwarden/bitwarden, so we include these endpoints to allow bypassing additional auth and just use whatever auth the application (vaultwarden) has in place for those endpoints. As to why the VW wiki page does not have these same configurations, they likely don't have a need to account for additional auth configurations.
from reverse-proxy-confs.
Thank you for the explanation!!
Now I understand, makes sense.
from reverse-proxy-confs.
Related Issues (20)
- [BUG] Cannot acces to the admin UI via proxy HOT 5
- [BUG] Synology config not passing Secure SignIn app data HOT 2
- [FEAT] Add support for ansible Semaphore HOT 1
- [FEAT] [FEAT] include /config/nginx/custom-confs/*.conf HOT 5
- [BUG] swag auto proxy replacing all server_name entries on openvscode-server.subdomain.conf HOT 4
- [BUG] komga, remove /api block HOT 4
- [BUG] Mealie default port misconfigured
- [BUG] Jellyfin gives an error 27 on specific devices HOT 10
- [FEAT] amp by cubecoders HOT 3
- [BUG] calibreweb conf references wrong container name, causing error 502 HOT 2
- [FEAT] Add support for flaresolvrr HOT 2
- [FEAT] Add support for wiki.js HOT 1
- [FEAT] upstream_proto https to http HOT 3
- [FEAT] Disable nginx proxy_buffering on emby and jellyfin confs HOT 2
- [FEAT] Disable external authorization for Influxdb API endpoint HOT 4
- [FEAT] Add support for GLPI HOT 6
- [FEAT] Add support for Gatus HOT 2
- [FEAT] Add support for homepage HOT 2
- [FEAT] Add support for Nightscout HOT 3
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 reverse-proxy-confs.