diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-09 11:31:15 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-09 19:40:51 +0200 |
| commit | 01fcc8e47845f24f0ba16fcd14d30051758503d7 (patch) | |
| tree | 653d1995b9b96a85cb5469246bb9b7bf01e1572b | |
| parent | 4378d24067545999a281211d5d8a36595e12e790 (diff) | |
Run spawn-fcgi as root to avoid setgid errors
Remove -u nginx -g nginx from spawn-fcgi command to run as root.
This avoids nginx worker process setgid permission errors.
| -rw-r--r-- | f3s/git-server/helm-chart/templates/deployment.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/f3s/git-server/helm-chart/templates/deployment.yaml b/f3s/git-server/helm-chart/templates/deployment.yaml index 0f4d1bd..c077aa5 100644 --- a/f3s/git-server/helm-chart/templates/deployment.yaml +++ b/f3s/git-server/helm-chart/templates/deployment.yaml @@ -69,7 +69,7 @@ spec: command: ["/bin/sh", "-c"] args: - | - spawn-fcgi -u nginx -g nginx -s /var/run/fcgiwrap.sock -n -- /usr/bin/fcgiwrap & + spawn-fcgi -s /var/run/fcgiwrap.sock -n -- /usr/bin/fcgiwrap & exec nginx -g 'daemon off;' ports: - containerPort: 8080 |
