refactor: simplify nginx config by removing redundant worker and event settings
This commit is contained in:
parent
d710df2b1f
commit
165c473915
14
nginx.conf
14
nginx.conf
@ -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 {
|
http {
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user