diff options
Diffstat (limited to 'nginx.conf')
-rw-r--r-- | nginx.conf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..2b5da16 --- /dev/null +++ b/nginx.conf | |||
@@ -0,0 +1,31 @@ | |||
1 | user nginx; | ||
2 | worker_processes 1; | ||
3 | |||
4 | events { | ||
5 | worker_connections 1024; | ||
6 | } | ||
7 | |||
8 | http { | ||
9 | include mime.types; | ||
10 | default_type application/octet-stream; | ||
11 | sendfile on; | ||
12 | keepalive_timeout 65; | ||
13 | |||
14 | server { | ||
15 | listen 80; | ||
16 | server_name localhost; | ||
17 | |||
18 | resolver 8.8.8.8; | ||
19 | |||
20 | location / { | ||
21 | google on; | ||
22 | google_scholar on; | ||
23 | google_language "en"; | ||
24 | } | ||
25 | |||
26 | error_page 500 502 503 504 /50x.html; | ||
27 | location = /50x.html { | ||
28 | root html; | ||
29 | } | ||
30 | } | ||
31 | } \ No newline at end of file | ||