Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 475 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 475 Bytes

Nginx

docker run -ti -v /demo:/shared -e CONF=/shared/etc/local.conf -p 80:80 ngx

\demo ├───etc └───www


local.conf

server { listen 80; server_name localhost;

location / {
    root   /shared/www;
    index  index.html index.htm;
}

}


index.html

<title>Demo</title> Demo