1 |
49598
|
stefanos.g
|
worker_processes 1;
|
2 |
|
|
|
3 |
|
|
events {
|
4 |
|
|
worker_connections 1024;
|
5 |
|
|
}
|
6 |
|
|
|
7 |
|
|
http {
|
8 |
|
|
include mime.types;
|
9 |
|
|
default_type application/octet-stream;
|
10 |
|
|
sendfile on;
|
11 |
|
|
keepalive_timeout 65;
|
12 |
|
|
|
13 |
|
|
server {
|
14 |
|
|
listen 80;
|
15 |
|
|
#server_name mysite.com www.mysite.com;
|
16 |
|
|
root /usr/share/nginx/html;
|
17 |
|
|
|
18 |
|
|
location / {
|
19 |
|
|
try_files $uri$args $uri$args/ /index.html;
|
20 |
|
|
}
|
21 |
|
|
|
22 |
|
|
location /api {
|
23 |
|
|
# try_files $uri$args $uri$args/ /api
|
24 |
|
|
return 404 /api;
|
25 |
|
|
|
26 |
|
|
}
|
27 |
|
|
|
28 |
|
|
location /warp/vendor/uikit/fonts/ {
|
29 |
|
|
|
30 |
|
|
#Include vanilla types
|
31 |
|
|
include mime.types;
|
32 |
|
|
|
33 |
|
|
#Missing mime types
|
34 |
|
|
types {font/truetype ttf;}
|
35 |
|
|
types {application/font-woff woff;}
|
36 |
|
|
types {application/font-woff2 woff2;}
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
location /font-awesome-4.6.3/fonts/ {
|
40 |
|
|
|
41 |
|
|
#Include vanilla types
|
42 |
|
|
include mime.types;
|
43 |
|
|
|
44 |
|
|
#Missing mime types
|
45 |
|
|
types {font/truetype ttf;}
|
46 |
|
|
types {application/font-woff woff;}
|
47 |
|
|
types {application/font-woff2 woff2;}
|
48 |
|
|
}
|
49 |
|
|
}
|
50 |
|
|
}
|