Add environment variable to handle HTTPS properly
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 55/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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. 😊
- Langage dominant
- Shell
- Étoiles
- 527
- Forks
- 72
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de LinkStackOrg/linkstack-docker
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
LinkStackOrg/linkstack-docker#170 · 14 commentaires · 10 réactions ·
-
Potential information disclosure: runtime Laravel log accessible without authentication in a Docker deploymentPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
LinkStackOrg/linkstack-docker#168 ·
-
Volume path overlap with existing paths inside imagePeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 4/5 1-2 jours Accessibilité débutants 52/100
LinkStackOrg/linkstack-docker#162 · 2 commentaires ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 57/100
LinkStackOrg/linkstack-docker#161 · 1 commentaire ·
-
github package out of dateOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
LinkStackOrg/linkstack-docker#160 · 3 commentaires ·
Toutes les issues de LinkStackOrg/linkstack-docker
Issues similaires
-
AdminNeo is failing to updateOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
alunduil/alunduil-chezmoi#964 ·
Les mainteneurs répondent en général sous 1 jour
-
bug-unconfirmed
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour
-
[pico][astrocade] emu/apply.sh edits src/mame/midway/astrohome.cpp, which current MAME has in bally/Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
FujiNetWIFI/fujinet-firmware#2120 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100