Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add environment variable to handle HTTPS properly

Offen
#166 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
apache, docker, shell
Bereich
devops

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

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus LinkStackOrg/linkstack-docker

Alle Issues in LinkStackOrg/linkstack-docker

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.