Fix nginx read-only filesystem issues
This commit is contained in:
@ -10,7 +10,6 @@
|
||||
"manifestVersion": 2,
|
||||
"website": "https://www.keila.io",
|
||||
"contactEmail": "hello@keila.io",
|
||||
"icon": "file://icon.png",
|
||||
"tags": [
|
||||
"email",
|
||||
"newsletter",
|
||||
@ -26,12 +25,5 @@
|
||||
"minBoxVersion": "7.0.0",
|
||||
"postInstallMessage": "file://POSTINSTALL.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"optionalSso": false,
|
||||
"tcpPorts": {
|
||||
"KEILA_PORT": {
|
||||
"title": "Keila HTTP Port",
|
||||
"description": "Keila HTTP Port",
|
||||
"containerPort": 4000
|
||||
}
|
||||
}
|
||||
"optionalSso": false
|
||||
}
|
@ -6,6 +6,11 @@ server {
|
||||
root /tmp;
|
||||
|
||||
client_max_body_size 100m;
|
||||
client_body_temp_path /tmp/nginx/body;
|
||||
fastcgi_temp_path /tmp/nginx/fastcgi;
|
||||
proxy_temp_path /tmp/nginx/proxy;
|
||||
scgi_temp_path /tmp/nginx/scgi;
|
||||
uwsgi_temp_path /tmp/nginx/uwsgi;
|
||||
|
||||
# Security headers
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
|
3
start.sh
3
start.sh
@ -55,6 +55,9 @@ if [[ ! -f "/app/data/root_credentials" ]]; then
|
||||
chmod 600 /app/data/root_credentials
|
||||
fi
|
||||
|
||||
echo "==> Creating nginx temp directories"
|
||||
mkdir -p /tmp/nginx/body /tmp/nginx/fastcgi /tmp/nginx/proxy /tmp/nginx/scgi /tmp/nginx/uwsgi
|
||||
|
||||
echo "==> Starting nginx"
|
||||
nginx -t
|
||||
nginx
|
||||
|
Reference in New Issue
Block a user