refactor: simplify nginx config by removing redundant worker and event settings

This commit is contained in:
greg 2025-05-24 09:18:36 +02:00
parent d710df2b1f
commit 165c473915

View File

@ -1,17 +1,3 @@
worker_processes auto;
daemon off; # Run in the foreground, managed by Docker/start.sh
# Ensure appuser can write to pid path if it's in a restricted location.
# Default for alpine nginx is /run/nginx/nginx.pid, which should be fine.
# If issues, uncomment and adjust:
# pid /tmp/nginx.pid;
error_log /var/log/nginx/error.log warn; # Ensure appuser can write here or adjust
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;