Cannot load icons in nginx reverse proxy
Denzy7 opened this issue · 1 comments
Denzy7 commented
Describe the bug
Cannot load site icon (in :dir_browser/logo.png
)
To Reproduce
Steps to reproduce the behavior:
- wsgidav -H 0.0.0.0 -r / --auth=anonymous
- nginx config inside server directive
location /dav/ {
proxy_pass http://localhost:8080/;
} - http://localhost:80/dav
- See error on chromium console
Expected behavior
Icons and fonts should load
Screenshots, Log-Files, Stacktrace
Insert stacktrace if applicable.
If applicable, add screenshots to help explain your problem.
If applicable, add a log file (consider --verbose
).
Environment:
Insert output of `wsgidav --version -v`.
5.2.0
Which WSGI server was used (cheroot, ext-wsgiutils, gevent, gunicorn, paste, uvicorn, wsgiref, ...)?
cheroot
Which WebDAV client was used (MS File Explorer, MS Office, macOS Finder, WinSCP, Windows, file mapping, ...)?
chromium
Additional context
Add any other context about the problem here.
Denzy7 commented
I ended up proxying http://dav.example.com to http://localhost:8080