summaryrefslogtreecommitdiff
path: root/~fauno/spawn-fcgi-php/nginx.conf.example
blob: 35d0868f3ebc217d74b09c44a11973fe68d04dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
user http;
worker_processes  1;

error_log  logs/error.log;

#pid        logs/nginx.pid;

events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    #gzip  on;

	# the file with mapping username per port
	include /etc/nginx/conf/map_user2port.conf;
	#or only 
	#include map_user2port.conf

	# Servers configurations ...
	include server.conf.example;
		
    }
}