Commit 20dcf84
committed
nginx template: allow /.well-known/* (the runtime-generated config)
PR #9 fixed default.conf and default-rootless.conf — the static, baked-
into-image versions. But the running container generates its config
from default.conf.template via envsubst at startup, overwriting the
baked default.conf with the templated output. The fix needs to live
on the template path or it never reaches running pods.
Verified live: a fresh id pod showed the correct `location ^~
/.well-known/` in default.conf (baked) but a regenerated
runtime default.conf without the block. /.well-known/openid-configuration
remained 404. Adding the well-known allow to the template, with
${NGINX_TRY_FILES} for the framework's index target, so the
runtime config gets it.
Build-and-push needs another workflow_dispatch since the workflow
doesn't auto-trigger on path changes.1 parent 063e8a3 commit 20dcf84
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
179 | 194 | | |
180 | 195 | | |
181 | 196 | | |
| |||
0 commit comments