1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-04 19:27:09 +01:00
build/layer/router-base/nginx.conf
David Oberhollenzer 62345ef7bb Cleanup nginx user and directory setup
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-07 16:35:25 +02:00

32 lines
777 B
Nginx Configuration File

worker_processes 1;
events {
worker_connections 1024;
}
error_log syslog:server=unix:/dev/log,nohostname,facility=daemon,severity=error,tag=nginx;
working_directory /var/nginx;
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
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;
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;
}
}
}