Ticket #2055: nginx.conf

File nginx.conf, 411 bytes (added by sijanec@…, 6 years ago)
Line 
1worker_processes 1;
2error_log stderr;
3daemon off;
4pid nginx.pid;
5
6events {
7 worker_connections 1024;
8}
9
10http {
11 includ /etc/nginx/mime.types;
12 default_type application/octet-stream;
13
14 sendfile on;
15
16 keepalive_timeout 69;
17
18 access_log access.log;
19 server {
20 listen 8080;
21 server_name localhost;
22 root /tmp;
23 location / {
24 add_before_body /add.html;
25 try_files $uri $uri/ =404;
26 }
27 }
28}