diff --git a/NginxLocal/conf/default.conf b/NginxLocal/conf/default.conf new file mode 100644 index 0000000..672d0d3 --- /dev/null +++ b/NginxLocal/conf/default.conf @@ -0,0 +1,10 @@ +server { + listen 80; + server_name localhost; + + location / { + root /usr/share/nginx/html; + index index.html index.htm; + } + +} diff --git a/NginxLocal/docker-compose.yml b/NginxLocal/docker-compose.yml new file mode 100644 index 0000000..619132c --- /dev/null +++ b/NginxLocal/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3.8' +services: + nginx: + image: nginx:latest + container_name: nginx-local + ports: + - "16080:80" + volumes: + - ./html:/usr/share/nginx/html + - ./conf:/etc/nginx/conf.d + restart: unless-stopped diff --git a/NginxLocal/html/images/jpg1.jpg b/NginxLocal/html/images/jpg1.jpg new file mode 100644 index 0000000..4d01b2d Binary files /dev/null and b/NginxLocal/html/images/jpg1.jpg differ diff --git a/NginxLocal/html/images/webp1.webp b/NginxLocal/html/images/webp1.webp new file mode 100644 index 0000000..122741b Binary files /dev/null and b/NginxLocal/html/images/webp1.webp differ diff --git a/NginxLocal/html/index.html b/NginxLocal/html/index.html new file mode 100644 index 0000000..d46b7dc --- /dev/null +++ b/NginxLocal/html/index.html @@ -0,0 +1,13 @@ + + + + + + + + + +

HOLA CARA COLA

+ + + \ No newline at end of file