Mercurial > code > home > repos > homeauto
annotate service/cardReader/local.conf @ 725:1ecceb2e92a3
rename rfid_pn532_py
Ignore-this: 89356f780bb5df4d9ec639c44d2a3a67
author | drewp@bigasterisk.com |
---|---|
date | Wed, 05 Feb 2020 16:40:46 -0800 |
parents | service/rfid_pn532_py/local.conf@d453cdd8a86f |
children |
rev | line source |
---|---|
438
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
1 daemon off; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
2 pid /dev/null; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
3 error_log stderr; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
4 #worker_processes 1; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
5 |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
6 events { |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
7 worker_connections 1024; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
8 } |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
9 |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
10 http { |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
11 types { |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
12 text/html html; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
13 text/css css; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
14 image/gif gif; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
15 image/jpeg jpeg jpg; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
16 application/x-javascript js; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
17 image/png png; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
18 } |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
19 |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
20 server { |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
21 listen 8888; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
22 |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
23 access_log off; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
24 |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
25 location / { |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
26 proxy_pass http://bang; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
27 proxy_set_header Host bigasterisk.com; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
28 proxy_buffering off; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
29 } |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
30 location /frontDoor/rfid/ { |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
31 proxy_pass http://localhost:10012; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
32 proxy_set_header Host $http_host; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
33 proxy_buffering off; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
34 rewrite /frontDoor/rfid(.*) $1 break; |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
35 } |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
36 } |
d453cdd8a86f
start dev mode nginx config. not working yet
drewp@bigasterisk.com
parents:
diff
changeset
|
37 } |