-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnginx.conf
39 lines (30 loc) · 899 Bytes
/
nginx.conf
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
35
36
37
38
39
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/
user nginx;
worker_processes 1;
daemon off;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
keepalive_timeout 65;
server {
listen 80 default;
server_name nginx;
root /usr/share/nginx/html;
index index.html index.htm;
# log files
#access_log /var/log/nginx/conference-room.access.log;
#error_log /var/log/nginx/conference-room.error.log;
# proxy buffers
proxy_buffers 16 64k;
proxy_buffer_size 128k;
## default location ###
location / {
try_files $uri $uri/ /index.html?/$request_uri;
}
}
}