Nginx Proxy Manager: ensure /tmp/nginx/body exists via openresty service ExecStartPre (#13528)

This commit is contained in:
CanbiZ (MickLesk) 2026-04-05 21:28:34 +02:00 committed by GitHub
parent e247a8ee8b
commit 70a9d99ecd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -62,6 +62,7 @@ Wants=network-online.target
[Service]
Type=simple
ExecStartPre=-/bin/mkdir -p /tmp/nginx/body /run/nginx
ExecStartPre=/usr/local/openresty/nginx/sbin/nginx -t
ExecStart=/usr/local/openresty/nginx/sbin/nginx -g 'daemon off;'