forked from CRICDatabase/searchable-image-database-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
38 lines (33 loc) · 1.09 KB
/
nginx.conf
File metadata and controls
38 lines (33 loc) · 1.09 KB
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
user root root; ## Default: nobody
worker_processes 5; ## Default: 1
error_log logs/error.log;
pid logs/nginx.pid;
worker_rlimit_nofile 8192;
events {
worker_connections 4096; ## Default: 1024
}
http {
types {
module js;
}
include /etc/nginx/mime.types;
# include /etc/nginx/proxy.conf;
index index.html index.htm index.php;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] $status '
'"$request" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log logs/access.log main;
sendfile on;
tcp_nopush on;
server_names_hash_bucket_size 128; # this seems to be required for some vhosts
server {
listen 80;
server_name database.cric.com.br www.database.cric.com.br cricdatabase.com.br www.cricdatabase.com.br;
access_log logs/domain1.access.log main;
root /usr/share/nginx/html;
location / {
try_files $uri $uri/ /index.html;
}
}
}