view 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
line wrap: on
line source

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;
    }
  }
}