-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnginx.conf
61 lines (49 loc) · 935 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#server {
# listen 8000;
# server_name localhost;
#
# location / {
# root /usr/share/nginx/html;
# index index.html index.htm;
# try_files $uri $uri/ /index.html =404;
# }
#
#
# location /fuseki {
# proxy_pass http://localhost:3030;
#
# }
#
# include /etc/nginx/extra-conf.d/*.conf;
#}
worker_processes 1;
events {
worker_connections 1024;
}
http {
# Other http-level configuration directives
include mime.types;
sendfile on;
server {
listen 8000;
listen [::]:8000;
resolver 127.0.0.1;
autoindex off;
server_name _;
server_tokens off;
root /var/www/html;
gzip_static on;
}
# server {
# listen 8000;
# server_name localhost;
#
# # Route to KGraphX frontend
# location / {
# root /var/www/html;
# index index.html index.htm;
# try_files $uri $uri/ /index.html =404;
# }
#
# }
}