Open ichhabkeinbock opened 1 year ago
Hi, I don't know if it's still relevant for you but after a quick look I think I see what the issue is. Because you're accessing CyberChef at localhost/cyberchef/
CyberChef tries to find the index.html at /usr/share/nginx/html/cyberchef/index.html
instead of /usr/share/nginx/html/index.html
where it is actually located.
This is normal webserver behaviour. Usually a root directory is defined, and in this case it is /usr/share/nginx/html
so when you access a subpath like localhost/cyberchef
it treats it like a directory path where localhost/
is the root.
I know with Nginx you can do some rewrite rules to you can make localhost/cyberchef/ point to the "root" of another service, but I don't have any experience with traefik, so I can't help you there.
I'm desperately trying to run CyberChef behind traefik, all the containers I tried so far were not working. Even building from source... Anyway. This is my docker-compose.yml:
When removing
Path(`/cyberchef`)
from the docker and removing the nginx container with the same rule, the application will run atlocalhost
. So Cyberchef is working. But as soon, as I use the Path() rule, I get a 404 and the following traceback from the docker compose command:Any ideas what the issue is?