mirror of
https://github.com/slurdge/docker-keewebdav.git
synced 2026-11-11 13:13:55 +00:00
[GH-ISSUE #2] White screen #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: slurdge/docker-keewebdav#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vladosam on GitHub (Jan 25, 2023).
Original GitHub issue: https://github.com/slurdge/docker-keewebdav/issues/2
Hi, i'm trying to test your docker image with
docker run -p 8080:8080 slurdge/keewebdavbut once i open http://IP:8080 all don't get anything on screen. Just white screen and nothing on it. Only favicon in visible on tab. Also is there some instructions how to use my wildcard certificate with caddy not the one from letsencrypt? Thanks.@slurdge commented on GitHub (Jan 25, 2023):
Hello, I just tried the exact command you pasted and it works on two different computers. Can you try with other docker images ? The only thing I can think of is that you have a firewall preventing access to the page.
If you want to use your own wildcard, then you would need to mount the
Caddyfile(which is at/etc/Caddyfile) and put a section with your certificate. Also don't forget to mount your certificates inside the docker.@vladosam commented on GitHub (Jan 25, 2023):
I tried other some other keeweb images and they work fine. So i don't think it's firewall problem. But I get this error in developer tools
Content Security Policy: The page's settings blocked the loading of a resource at inline ("script-src").@slurdge commented on GitHub (Jan 25, 2023):
Ah, can you try to access http://localhost:8080/ and tell me if it works ?
@slurdge commented on GitHub (Jan 25, 2023):
The script-src hash should be patched automatically but maybe there's a bug.
See here: https://github.com/slurdge/docker-keewebdav/blob/master/Dockerfile#L28
@vladosam commented on GitHub (Jan 25, 2023):
I can't. It's on headless server. I can curl http://localhost:8080 and I get whole index file.
@slurdge commented on GitHub (Jan 25, 2023):
You could try to port forward your 8080 through SSH if you want to confirm, but I'm pretty sure that newer browsers block what they believe less secure from more secure web.
I have the same issue as you if I access through IP and not through localhost.
For now I don't have a solution, as I don't see what I should change to the Security Policy without making it less secure, this is definitely not what you want.
If you manage to have a https in front of it, I'm quite sure it would work.
@slurdge commented on GitHub (Jan 25, 2023):
I just tested vanilla keeweb with a simple python webserver and the bug is the same, you could try to ask the question at keeweb/keeweb and see if they have a suggestion
@vladosam commented on GitHub (Jan 25, 2023):
I'll try it tomorrow with traefik or npm in front of it. I'll report back to you.
@vladosam commented on GitHub (Jan 26, 2023):
I tested with npm and everything works wooohooo. Thanks. Closing this.