Add environment variable to handle HTTPS properly
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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. 😊
- Ngôn ngữ chính
- Shell
- Star
- 527
- Fork
- 72
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của LinkStackOrg/linkstack-docker
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
LinkStackOrg/linkstack-docker#170 · 14 bình luận · 10 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
LinkStackOrg/linkstack-docker#168 ·
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 52/100
LinkStackOrg/linkstack-docker#162 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 57/100
LinkStackOrg/linkstack-docker#161 · 1 bình luận ·
-
github package out of dateĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
LinkStackOrg/linkstack-docker#160 · 3 bình luận ·
Tất cả issue của LinkStackOrg/linkstack-docker
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:terraform priority:low source:reader type:enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
stephrobert/blog-roadmap#104 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ReproNim/containers#172 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
fairagro/m4.2_infrastructure#54 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày