demos

#### 1. View Nginx logs in real time

```bash
$ docker logs -f [CONTAINER ID] #by ID
```

#### 2. Enter terminal of NGINX docker container

```bash
$ sudo docker exec -i -t [CONTAINER ID] /bin/bash  #by ID
#or
$ sudo docker exec -i -t [CONTAINER NAME] /bin/bash #by Name

# Enter the NGINX root folder where we will run our commands:
$ cd /etc/nginx
```

#### 3. Enable **active config: warehouse_api_simple

```bash
for x in /etc/nginx/api_conf.d/*.conf; do mv "$x" "${x%.conf}.conf_"; done
mv /etc/nginx