Add environment variable to handle HTTPS properly
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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. 😊
- Lingua principale
- Shell
- Stelle
- 527
- Fork
- 72
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LinkStackOrg/linkstack-docker
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
LinkStackOrg/linkstack-docker#170 · 8 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
LinkStackOrg/linkstack-docker#168 ·
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 52/100
LinkStackOrg/linkstack-docker#162 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 57/100
LinkStackOrg/linkstack-docker#161 · 1 commento ·
-
github package out of dateAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
LinkStackOrg/linkstack-docker#160 · 3 commenti ·
Tutte le issue di LinkStackOrg/linkstack-docker
Issue simili
-
e2e-failure ready-to-code
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue spells
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dotsApertaneeds-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
melodic-software/claude-code-plugins#9026 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug raised-by:verifier
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
medici-finance/assay#4008 ·
I maintainer di solito rispondono entro 1 giorno