[GH-ISSUE #246] Missing option to explicitly enable/disable https redirection #138

Closed
opened 2026-02-26 09:36:52 +03:00 by kerem · 3 comments
Owner

Originally created by @hopoluicha on GitHub (May 8, 2020).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/246

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
redirection to https on port 80 always happens if ssl is properly set. I used to use localhost:port for documentserver internal address in nextcloud connector. Now the redirected always happens, document cannot be saved back unless I leave internal address empty and force nextcloud connector to use the external address.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Enable SSL in documentserver

What is the expected behavior?
Old version of document server used to have a FORCE_SLL env that explicitly enable/disable redirection

Did this work in previous versions of DocumentServer?
Yes

DocumentServer Docker tag:
d06214a03e27

Host Operating System:
CentOS

Originally created by @hopoluicha on GitHub (May 8, 2020). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/246 **Do you want to request a *feature* or report a *bug*?** Bug **What is the current behavior?** redirection to https on port 80 always happens if ssl is properly set. I used to use localhost:port for documentserver internal address in nextcloud connector. Now the redirected always happens, document cannot be saved back unless I leave internal address empty and force nextcloud connector to use the external address. **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.** Enable SSL in documentserver **What is the expected behavior?** Old version of document server used to have a FORCE_SLL env that explicitly enable/disable redirection **Did this work in previous versions of DocumentServer?** Yes **DocumentServer Docker tag:** d06214a03e27 **Host Operating System:** CentOS
kerem 2026-02-26 09:36:52 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (May 8, 2020):

@agolybev Please take a look

<!-- gh-comment-id:625706066 --> @ShockwaveNN commented on GitHub (May 8, 2020): @agolybev Please take a look
Author
Owner

@igwyd commented on GitHub (Nov 7, 2024):

Hello @hopoluicha, sorry for the late reply, ssl forced with rewrite rule at this moment https://github.com/ONLYOFFICE/document-server-package/blob/master/common/documentserver/nginx/ds-ssl.conf.tmpl.m4#L13 or what do you nean?

<!-- gh-comment-id:2461443451 --> @igwyd commented on GitHub (Nov 7, 2024): Hello @hopoluicha, sorry for the late reply, ssl forced with rewrite rule at this moment https://github.com/ONLYOFFICE/document-server-package/blob/master/common/documentserver/nginx/ds-ssl.conf.tmpl.m4#L13 or what do you nean?
Author
Owner

@Rita-Bubnova commented on GitHub (Jan 17, 2025):

This issue was closed due no response.

<!-- gh-comment-id:2597823009 --> @Rita-Bubnova commented on GitHub (Jan 17, 2025): This issue was closed due no response.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#138
No description provided.