cloudflare / cloudflare/lua-upstream-cache-nginx-module
http_cache module not found when lua_code_cache is off
- Vorherrschende Sprache
- C
- Sterne
- 124
- Forks
- 40
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
This might be an issue not specific to this module but this is where i encountered it.
if i set `lua_code_cache off` in `http` block, i get the error the module is not found, when i comment that config line, the module loads and everything works.
Any idea why this might be happening?
I needed this in order to work on the scripts without restarting nginx all the time.
Also, not sure if it's relevant, but openresty is running in docker (based on alpine).
Thank you
Beitragsleitfaden
Rechercherichtung
Reproduziere den Bericht in einem auf Alpine basierenden OpenResty-Docker-Image, zuerst mit `lua_code_cache off` im `http`-Block und anschließend, nachdem diese Einstellung entfernt wurde. Verfolge in beiden Fällen, wie das `http_cache`-Modul gefunden und geladen wird; abgeschlossen ist die Aufgabe, wenn die Ursache identifiziert und eine verifizierte Lösung dokumentiert oder implementiert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- docker, lua, nginx
- Bereich
- backend, devops
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100