Add environment variable to handle HTTPS properly
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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. 😊
- Vorherrschende Sprache
- Shell
- Sterne
- 527
- Forks
- 72
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus LinkStackOrg/linkstack-docker
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
LinkStackOrg/linkstack-docker#170 · 14 Kommentare · 10 Reaktionen ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
LinkStackOrg/linkstack-docker#168 ·
-
Schwierigkeit 4/5 1-2 Tage Anfängerfreundlichkeit 52/100
LinkStackOrg/linkstack-docker#162 · 2 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 57/100
LinkStackOrg/linkstack-docker#161 · 1 Kommentar ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
LinkStackOrg/linkstack-docker#160 · 3 Kommentare ·
Alle Issues in LinkStackOrg/linkstack-docker
Ähnliche Issues
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
area:terraform priority:low source:reader type:enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
stephrobert/blog-roadmap#104 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
ReproNim/containers#172 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
fairagro/m4.2_infrastructure#54 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag