Hello everyone,
I’ve been trying for a few days to get OnlyOffice to work together with Filestash over HTTPS and a registered domain, but without success.
First of all, I have an Apache proxy that intercepts ports 80 and 443 so I can register the domain with Certbot where everything is hosted. When downloading Filestash, the OnlyOffice Docker image is also downloaded. When I work with numeric addresses and HTTP, OnlyOffice works without issues. But when I switch to domain names and configure OnlyOffice to work as HTTPS according to the instructions, the error I get is:
https://mydomain.com/web-apps/apps/api/documents/api.js net::ERR_ABORTED 404 (Not Found).
To ensure OnlyOffice is working, I redirected port 8081 to port 443 in Docker, and when I access https://mydomain.com/web-apps/apps/api/documents/api.js
, I get the JavaScript code. I tried changing paths and links within Filestash to see if I could get it to work, but without success. Also, when I try to access https://mydomain.com:8081
, the welcome page loads without any issues. As I mentioned, I intentionally exposed port 8081 to check if OnlyOffice’s port 443 is functioning. All communication between Filestash and OnlyOffice takes place over internal ports.