Revision 13067b9557fb1d00d0f4f689248a1a37c891665d authored by vbot on 19 June 2020, 10:16:37 UTC, committed by Romain Bardou on 19 June 2020, 15:07:48 UTC
1 parent 16facd8
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