Revision bf51bd7372b1703c825c607ffbacc7a79b6059bf authored by Arvid Jakobsson on 27 February 2020, 14:38:50 UTC, committed by Pierre Boutillier on 09 March 2020, 20:48:03 UTC
The latter was added in 9aebc957 but the former was not removed.
1 parent ede1919
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