forked from singhanshika311/JWebNotee
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
44 lines (33 loc) · 717 Bytes
/
Copy pathnginx.conf
File metadata and controls
44 lines (33 loc) · 717 Bytes
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
worker_processes 1;
events {
worker_connections 1024;
}
error_log /dev/null info;
pid /tmp/nginx_user.pid;
daemon off;
http {
access_log /dev/stdout;
error_log /dev/null info;
default_type application/octet-stream;
sendfile on;
types {
text/html html;
text/css css;
application/javascript js;
application/wasm wasm;
}
server {
listen 8085;
server_name localhost;
gzip on;
gzip_types application/javascript application/wasm;
charset utf-8;
location / {
# this should point to your root application folder
root /home/elisabeth/LeaningTech/cj_hackathon/JWebNotee;
autoindex on;
absolute_redirect off;
index index.html index.htm;
}
}
}