1526
|
1 daemon off;
|
|
2 pid /dev/null;
|
|
3 error_log stderr;
|
|
4 #worker_processes 1;
|
|
5
|
|
6 events {
|
|
7 worker_connections 1024;
|
|
8 }
|
|
9
|
|
10 http {
|
|
11 types {
|
|
12 text/html html;
|
|
13 text/css css;
|
|
14 image/gif gif;
|
|
15 image/jpeg jpeg jpg;
|
|
16 application/x-javascript js;
|
|
17 image/png png;
|
|
18 }
|
|
19
|
|
20 server {
|
|
21 listen 8888;
|
|
22
|
|
23 access_log off;
|
|
24
|
|
25 location / {
|
|
26 proxy_pass http://bang;
|
|
27 proxy_set_header Host bigasterisk.com;
|
|
28 proxy_buffering off;
|
|
29 }
|
|
30 location /frontDoor/rfid/ {
|
|
31 proxy_pass http://localhost:10012;
|
|
32 proxy_set_header Host $http_host;
|
|
33 proxy_buffering off;
|
|
34 rewrite /frontDoor/rfid(.*) $1 break;
|
|
35 }
|
|
36 }
|
|
37 }
|