Mercurial > code > home > repos > homeauto
comparison service/rfid_pn532_py/local.conf @ 1241:6900a284724e
start dev mode nginx config. not working yet
Ignore-this: d18b11cd5566d844bf126b8a9e50b912
darcs-hash:f7862f9c368b9f0e37cb961a63ed7cd56faf9cc7
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 13 Apr 2019 20:56:30 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1240:3930f997ceeb | 1241:6900a284724e |
---|---|
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 } |