Use /run temp paths for nginx

This commit is contained in:
Your Name
2025-11-13 21:13:06 -06:00
parent a0ee0fef8b
commit 97435d438b
2 changed files with 10 additions and 1 deletions

View File

@@ -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;

View File

@@ -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" \