Fix NGINX temp dirs and Blinko entry point
- Configure NGINX to use /run for temp directories - Fix Blinko entry point to dist/index.js
This commit is contained in:
@@ -3,6 +3,13 @@ worker_processes auto;
|
|||||||
pid /run/nginx.pid;
|
pid /run/nginx.pid;
|
||||||
error_log stderr;
|
error_log stderr;
|
||||||
|
|
||||||
|
# Use /run for temp directories (writable in Cloudron)
|
||||||
|
client_body_temp_path /run/nginx-client-body;
|
||||||
|
proxy_temp_path /run/nginx-proxy;
|
||||||
|
fastcgi_temp_path /run/nginx-fastcgi;
|
||||||
|
uwsgi_temp_path /run/nginx-uwsgi;
|
||||||
|
scgi_temp_path /run/nginx-scgi;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ stderr_logfile_maxbytes=0
|
|||||||
priority=10
|
priority=10
|
||||||
|
|
||||||
[program:blinko]
|
[program:blinko]
|
||||||
command=/usr/local/bin/dumb-init node /app/code/server/index.js
|
command=/usr/local/bin/dumb-init node /app/code/dist/index.js
|
||||||
directory=/app/code
|
directory=/app/code
|
||||||
user=cloudron
|
user=cloudron
|
||||||
autostart=true
|
autostart=true
|
||||||
|
|||||||
Reference in New Issue
Block a user