Use /run temp paths for nginx
This commit is contained in:
@@ -8,6 +8,11 @@ events {
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
client_body_temp_path /run/nginx/client_body;
|
||||
proxy_temp_path /run/nginx/proxy_temp;
|
||||
fastcgi_temp_path /run/nginx/fastcgi_temp;
|
||||
uwsgi_temp_path /run/nginx/uwsgi_temp;
|
||||
scgi_temp_path /run/nginx/scgi_temp;
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
|
||||
@@ -11,7 +11,11 @@ MAUBOT_INTERNAL_PORT="${MAUBOT_INTERNAL_PORT:-3001}"
|
||||
|
||||
umask 0027
|
||||
|
||||
mkdir -p /run/nginx \
|
||||
mkdir -p /run/nginx/client_body \
|
||||
/run/nginx/proxy_temp \
|
||||
/run/nginx/fastcgi_temp \
|
||||
/run/nginx/uwsgi_temp \
|
||||
/run/nginx/scgi_temp \
|
||||
"${DATA_DIR}" \
|
||||
"${DATA_DIR}/plugins" \
|
||||
"${DATA_DIR}/trash" \
|
||||
|
||||
Reference in New Issue
Block a user