comparison 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
comparison
equal deleted inserted replaced
724:2866c155eb07 725:1ecceb2e92a3
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 }