Add environment variable to handle HTTPS properly
还没有人认领这个 Issue。
评估
调研方向
Read the documented FORCE_HTTPS setting and the linked docker-entrypoint.sh script to understand how the container currently loads its .env configuration. Check how the entrypoint could accept an environment variable and apply it to that setting; done means HTTPS behavior can be configured through the container environment without manually editing persistent storage. The issue has no comments or named tests, so confirm the expected variable behavior before changing files.
由索引模型根据 Issue 内容生成。
描述
Hello !
I'm currently trying to install LinkStack as a pod on my k3s server and i think i'm experimenting an issue with the http / https in the container : i've got 404 errors because sometimes i've got http or https requests in my browser.
I think it might be linked to the var we need to enable in the .env file and referenced in the documentation :
https://docs.linkstack.org/docker/reverse-proxies/#traefik
Start your Docker Compose and navigate to your "persistent storage" and change the .env search for FORCE_HTTPS=false (line 85) and set this to "true"
I think a better way to handle this part light be to add an environnement var in the entry point script, and a sed or similar command to use it in the following script :
https://github.com/LinkStackOrg/linkstack-docker/blob/main/docker-entrypoint.sh
What do you think ? I can try it if you want. 😊
- 主要语言
- Shell
- 星标
- 527
- 派生
- 72
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LinkStackOrg/linkstack-docker 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
LinkStackOrg/linkstack-docker#170 · 14 条评论 · 10 个 reaction ·
-
Potential information disclosure: runtime Laravel log accessible without authentication in a Docker deployment可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
LinkStackOrg/linkstack-docker#168 ·
-
Volume path overlap with existing paths inside image可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 1-2 天 新手友好度 52/100
LinkStackOrg/linkstack-docker#162 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 57/100
LinkStackOrg/linkstack-docker#161 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 48/100
LinkStackOrg/linkstack-docker#160 · 3 条评论 ·
查看 LinkStackOrg/linkstack-docker 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
MISP/misp-docker#478 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
t4t5/omdrop-owl#83 ·
-
automated issue report
难度 1/5 1 小时以内 新手友好度 88/100
a2aproject/A2A#2383 ·
维护者通常 3 天内回复
-
roadmap-100
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
priority: medium status: needs-decision work-class: scoped
难度 2/5 1-3 小时 新手友好度 78/100
melodic-software/claude-code-plugins#9339 · 2 条评论 ·
维护者通常 1 天内回复