summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--f3s/git-server/helm-chart/templates/deployment.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/f3s/git-server/helm-chart/templates/deployment.yaml b/f3s/git-server/helm-chart/templates/deployment.yaml
index b867add..ac2a48d 100644
--- a/f3s/git-server/helm-chart/templates/deployment.yaml
+++ b/f3s/git-server/helm-chart/templates/deployment.yaml
@@ -68,7 +68,10 @@ spec:
- |
# Remove 'user nginx;' directive to avoid setgid errors when running as root
sed -i 's/^user nginx;//' /etc/nginx/nginx.conf
+ # Start fcgiwrap and set socket permissions for nginx user
spawn-fcgi -s /var/run/fcgiwrap.sock -n -- /usr/bin/fcgiwrap &
+ sleep 1
+ chmod 666 /var/run/fcgiwrap.sock
exec nginx -g 'daemon off;'
ports:
- containerPort: 80