[GH-ISSUE #523] Add Support for HTTPS to Server #307

Closed
opened 2026-02-22 18:18:53 -05:00 by yindo · 0 comments
Owner

Originally created by @pritchey on GitHub (Jan 4, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/523

For some self-hosted environments, everything much utilize encryption even if it rides the loopback interface. Therefore, the server which executes must support both running in HTTP and HTTPS mode.

This pull request modifies server/index.js to provide users the ability to enable HTTPS by making a change to the .env (configuration) file. The configuration file mod adds a flag to indicate the desire to enable HTTPS and the path/filename for the key and cert to be used.

Logging output has been updated to include whether or not the server is being launched as an HTTP or HTTPS server, as well as when the code is about to load the key/cert file.

Originally created by @pritchey on GitHub (Jan 4, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/523 For some self-hosted environments, everything much utilize encryption even if it rides the loopback interface. Therefore, the server which executes must support both running in HTTP and HTTPS mode. This pull request modifies server/index.js to provide users the ability to enable HTTPS by making a change to the .env (configuration) file. The configuration file mod adds a flag to indicate the desire to enable HTTPS and the path/filename for the key and cert to be used. Logging output has been updated to include whether or not the server is being launched as an HTTP or HTTPS server, as well as when the code is about to load the key/cert file.
yindo closed this issue 2026-02-22 18:18:53 -05:00
yindo changed title from Add Support for HTTPS to Server to [GH-ISSUE #523] Add Support for HTTPS to Server 2026-06-05 14:34:37 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#307