Revision 82dcd5c179ff370405f581e2a33e889bcbda7866 authored by Milo Davis on 04 December 2017, 15:35:48 UTC, committed by Benjamin Canou on 14 December 2017, 17:10:50 UTC
1 parent b2918c1
Raw File
nginx.conf
# /etc/nginx/nginx.conf

user nginx;

worker_processes 1;
error_log off;

events {
  worker_connections 1024;
}

http {
  server_tokens off;
  client_max_body_size 0;
  keepalive_timeout 65;
  tcp_nodelay on;
  access_log off;
  server {
    listen 80 default_server;
    listen [::]:80 default_server;
    location / {
      proxy_pass http://127.0.0.1:8732/;
    }
    location ~ ^/(validate_block|network/connection/.*/kick|network/connect/|(forge|inject)_(block|operation|protocol)/) {
      return 404;
    }
    location = /404.html {
      internal;
    }
  }
}
back to top