NginxLocal
This commit is contained in:
10
NginxLocal/conf/default.conf
Normal file
10
NginxLocal/conf/default.conf
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
11
NginxLocal/docker-compose.yml
Normal file
11
NginxLocal/docker-compose.yml
Normal file
@@ -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
|
||||||
BIN
NginxLocal/html/images/jpg1.jpg
Normal file
BIN
NginxLocal/html/images/jpg1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
BIN
NginxLocal/html/images/webp1.webp
Normal file
BIN
NginxLocal/html/images/webp1.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
13
NginxLocal/html/index.html
Normal file
13
NginxLocal/html/index.html
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title></title>
|
||||||
|
<link href="style.css" rel="stylesheet" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<h1>HOLA CARA COLA</h1>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user