2018-10-04 00:30:50 +02:00
|
|
|
worker_processes 1;
|
|
|
|
|
|
|
|
events {
|
|
|
|
worker_connections 1024;
|
|
|
|
}
|
|
|
|
|
|
|
|
error_log syslog:server=unix:/dev/log,nohostname,facility=daemon,severity=error,tag=nginx;
|
|
|
|
|
2018-10-07 16:35:05 +02:00
|
|
|
working_directory /var/nginx;
|
|
|
|
|
2018-10-04 00:30:50 +02:00
|
|
|
http {
|
|
|
|
include mime.types;
|
|
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
|
|
keepalive_timeout 65;
|
2018-10-07 16:35:05 +02:00
|
|
|
client_body_temp_path /var/nginx/client_body_temp;
|
|
|
|
fastcgi_temp_path /var/nginx/fastcgi_temp;
|
|
|
|
proxy_temp_path /var/nginx/proxy_temp;
|
|
|
|
scgi_temp_path /var/nginx/scgi_temp;
|
|
|
|
uwsgi_temp_path /var/nginx/uwsgi_temp;
|
2018-10-04 00:30:50 +02:00
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name _;
|
|
|
|
access_log syslog:server=unix:/dev/log,nohostname,facility=daemon,severity=info,tag=nginx;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
root /srv/www/;
|
|
|
|
index index.html;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|