Mercurial > code > home > repos > homeauto
diff service/cardReader/local.conf @ 1526:c476543e761e
rename rfid_pn532_py
Ignore-this: 89356f780bb5df4d9ec639c44d2a3a67
darcs-hash:212e7f3250cf67ce80922597188d33547d41b0f8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 05 Feb 2020 16:40:46 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/service/cardReader/local.conf Wed Feb 05 16:40:46 2020 -0800 @@ -0,0 +1,37 @@ +daemon off; +pid /dev/null; +error_log stderr; +#worker_processes 1; + +events { + worker_connections 1024; +} + +http { + types { + text/html html; + text/css css; + image/gif gif; + image/jpeg jpeg jpg; + application/x-javascript js; + image/png png; + } + + server { + listen 8888; + + access_log off; + + location / { + proxy_pass http://bang; + proxy_set_header Host bigasterisk.com; + proxy_buffering off; + } + location /frontDoor/rfid/ { + proxy_pass http://localhost:10012; + proxy_set_header Host $http_host; + proxy_buffering off; + rewrite /frontDoor/rfid(.*) $1 break; + } + } +}