-
Notifications
You must be signed in to change notification settings - Fork 208
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The OnlyOffice integration fails when the application is running behind a proxy with authentication.
I’ve tried configuring the internalUrl using both the proxy address and the original internal address — both give the same result.
It only works if I first open a document directly (bypassing the proxy) and open some office file and then later open document through the proxy — in that case, it opens successfully.
It seems like some authentication or session information is missing or not passed correctly through the proxy, but I’m not sure what exactly is happening.
I can see success information in the debug logs, but the file still doesn’t open.
server:
port: 80
baseURL: "/filebrowser"
database: "./data/database.db"
disablePreviews: true
disablePreviewResize: true
disableTypeDetectionByHeader: true
sources:
- path: "/folder"
name: "Файлы"
config:
defaultEnabled: true
denyByDefault: false
# externalUrl: "http://xx.xx.xx.xx:9999/filebrowser #proxy
externalUrl: "http://xx.xx.xx.xx:8686/filebrowser" #direct
internalUrl: "http://filebrowser-dev:80/filebrowser"
auth:
adminUsername: admin
tokenExpirationHours: 2
methods:
noauth: false
password:
enabled: true
proxy:
enabled: true
header: "X-Forwarded-User"
createUser: true
frontend:
name: ""
disableDefaultLinks: true
disableUsedPercentage: true
userDefaults:
hideSidebarFileActions: false
stickySidebar: true
disableSearchOptions: true
disableQuickToggles: true
darkMode: false
locale: ru
viewMode: list
singleClick: false
showHidden: false
dateFormat: false
gallerySize: 3
themeColor: var(--blue)
quickDownload: true
lockPassword: true
disableSettings: false
permissions:
download: true
integrations:
office:
url: "http://xx.xx.xx.xx:8585"
internalUrl: "http://onlyoffice:80"
secret: "***"
viewOnly: trueMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Status
Done