fix: permissions
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
user nginx;
|
||||
user nginx;
|
||||
worker_processes auto;
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /run/nginx.pid;
|
||||
|
||||
# Send logs to container fds (works regardless of privileges)
|
||||
error_log /proc/self/fd/2 warn;
|
||||
pid /run/nginx/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
@@ -15,14 +17,13 @@ http {
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /dev/stdout main;
|
||||
error_log /dev/stderr warn;
|
||||
access_log /proc/self/fd/1 main;
|
||||
# (No extra error_log here; the top-level one above is enough)
|
||||
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
# Server Blöcke sind NICHT hier!
|
||||
# Stattdessen in:
|
||||
# Include vhosts (your Laravel server block lives in one of these)
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /etc/nginx/http.d/*.conf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user