-
Hi, I looked into using traefik as a reverse proxy for both my wave app and my web api (run with uvicorn). The motivation was to use basic http authentication as a quick workaround to create access control without needing OpenID Connect. Now, while my web api is only reachable via traefik router (since I serve it on 127.0.0.1), I can still reach the wave server by directly going for the port. For example, my server address is So, I was wondering if this is something that could be solved on |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi, the simplest (and the most secure) thing to do is to close all the ports on your server and allow only 80 (HTTP) and 443 (HTTPS).
By default, wave server listens on |
Beta Was this translation helpful? Give feedback.
-
@mturoci out of curiosity: would you consider basic http authentication as a feature for the wave server? Or is it considered to be of low/no additional value since OpenID Connect support is already there and solutions like a reverse proxy can be used if a user really wants it. Just asking because it would be less trouble for me to use if it were an included feature, but I don't know if it's a relevant use case :D |
Beta Was this translation helpful? Give feedback.
Hi,
the simplest (and the most secure) thing to do is to close all the ports on your server and allow only 80 (HTTP) and 443 (HTTPS).
By default, wave server listens on
0.0.0.0
which means listen on all available addresses. Adding a new host conf option should be super simple so that you could replace it withlocalhost
, but my first suggestion is definitely more secure.