add homework 5.3, complete task 1

This commit is contained in:
2022-05-04 10:29:39 +07:00
parent 4db8d0e5cb
commit f41bc70752
4 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
FROM nginx:1.21.6-alpine
COPY site.conf /etc/nginx/conf.d/default.conf
COPY index.html /var/www/netology/index.html

View File

@@ -0,0 +1,8 @@
<html>
<head>
Hey, Netology
</head>
<body>
<h1>I`m DevOps Engineer!</h1>
</body>
</html>

View File

@@ -0,0 +1,9 @@
server {
listen 80;
server_name localhost;
location / {
root /var/www/netology;
index index.html index.htm;
}
}