From 42814c6377e62421ac1fa040126155b296302cf4 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 29 Jan 2022 11:37:39 +0800 Subject: [PATCH] update isntallation --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9bfc3c2f..ef9cdf4e 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ We have two considerations: 1, Trust, In decentralize system, everything control yarn && yarn serve ``` -2. Building for web servers, like nginx +2. Building for web servers, like nginx, apache ``` yarn && yarn build cp -r ./dist/* @@ -65,12 +65,12 @@ address = "tcp://0.0.0.0:1317" max-open-connections = 1000 ``` -2. add proxy server and enable CORS. +2. add proxy server and enable CORS. NOTE: You must enable https as well. ``` server { server_name juno.api.ping.pub; - listen 80; + listen 443; location / { add_header Access-Control-Allow-Origin *; add_header Access-Control-Max-Age 3600; @@ -81,6 +81,7 @@ server { } } ``` +3. config your blockchain in [](./src/chains)