Add custom nginx.conf to fix log file issues
This commit is contained in:
29
nginx_main.conf
Normal file
29
nginx_main.conf
Normal file
@ -0,0 +1,29 @@
|
||||
user cloudron;
|
||||
worker_processes auto;
|
||||
pid /tmp/nginx.pid;
|
||||
error_log /dev/stderr;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
access_log /dev/stdout;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
|
||||
client_body_temp_path /tmp/nginx/body;
|
||||
fastcgi_temp_path /tmp/nginx/fastcgi;
|
||||
proxy_temp_path /tmp/nginx/proxy;
|
||||
scgi_temp_path /tmp/nginx/scgi;
|
||||
uwsgi_temp_path /tmp/nginx/uwsgi;
|
||||
|
||||
include /etc/nginx/sites-available/default;
|
||||
}
|
Reference in New Issue
Block a user