-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
39 lines (29 loc) · 744 Bytes
/
nginx.conf
File metadata and controls
39 lines (29 loc) · 744 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
user nginx;
worker_processes auto;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
sendfile on;
server {
listen 80;
server_name localhost;
location ^~ /assets {
root /usr/share/nginx/html;
}
location ^~ /packages {
root /usr/share/nginx/html;
try_files /index.html /index.html;
}
location = / {
root /usr/share/nginx/html;
try_files /index.html /index.html;
}
location = /favicon.ico {
root /usr/share/nginx/html;
try_files /favicon.ico /favicon.ico;
}
}
}