aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker/frontend/cmd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/frontend/cmd.sh')
-rwxr-xr-xdocker/frontend/cmd.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/frontend/cmd.sh b/docker/frontend/cmd.sh
new file mode 100755
index 0000000..4a769f6
--- /dev/null
+++ b/docker/frontend/cmd.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+set -o errexit -o nounset -o pipefail
+
+spawn-fcgi \
+ -u nginx \
+ -g nginx \
+ -M 0755 \
+ -F 10 \
+ -s /run/fcgiwrap.sock \
+ /usr/sbin/fcgiwrap
+
+exec nginx -g 'daemon off;'