Sagar Jethi

Nginx Server Blocks (Virtual Hosts) on Ubuntu 16.04

1) Create Server Block

nono /etc/nginx/sites-available/api.domain.com

After that open file and copy below code

server {
listen 80;
listen [::]:80;
server_name apis.domai.com;

client_max_body_size 50M;

location /elb-status {
access_log off;
return 200 ‘A-OK!’;
add_header Content-Type text/plain;
}

location / {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Host $host;
}

}

2) Enable your Server Blocks

sudo cp /etc/nginx/sites-available/api.domain.com /etc/nginx/sites-available/api.domain.com

3) Restart Nginx

sudo nginx -tsudo systemctl restart nginx

--

--

What is IDO?

Blockchain and the Crypto world aims to solve the dependency on centralized platforms and financial models. Still, there are major players as exchanges that are running in a fully controlled manner. The solution recently presented itself in IDO — Initial DEX Offering.

Following are list of IDO platefrom

  1. https://daomaker.com/

2. https://bscpad.com/

--

--

Sagar Jethi

Sagar Jethi

Full stack developer | Freelancer | Blockchain evangelist