Ticket #817: nginx_bug.conf

File nginx_bug.conf, 700 bytes (added by marunin@…, 11 years ago)

Bug config

Line 
1user www-data;
2worker_processes 1;
3
4error_log /var/log/nginx/error.log debug;
5pid /var/run/nginx.pid;
6
7events {
8 worker_connections 1024;
9 # multi_accept on;
10}
11
12http {
13 include /etc/nginx/mime.types;
14
15 access_log /var/log/nginx/access.log;
16
17 sendfile on;
18 #tcp_nopush on;
19
20 #keepalive_timeout 0;
21 keepalive_timeout 65;
22 tcp_nodelay on;
23
24 server {
25 listen 10.253.55.21:80;
26 server_name name1;
27 location / {
28 return 401;
29 }
30 }
31
32 server {
33 listen 80;
34 server_name name2;
35 location / {
36 return 402;
37 }
38 }
39}