G
G
getto2122018-11-23 21:26:41
Nginx
getto212, 2018-11-23 21:26:41

How to raise nginx in docker and host any site in it?

any page or site. win 10

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2018-11-23
@getto212

Here it is :

docker pull nginx
docker run --name some-nginx -v /some/content:/usr/share/nginx/html:ro -d nginx
# предполагается, что в локальной папке /some/content
# у вас лежит какой-нибудь index.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question