swh:1:snp:9c27352633c4639a943e316050a7b904f57900e2
Raw File
Tip revision: ceec6c00f379b59b559e56013c90995ae74e3190 authored by Philippe Wang on 08 November 2019, 05:35:13 UTC
Merge branch 'patch-9' into 'master'
Tip revision: ceec6c0
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