mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-25 23:32:37 +03:00
add homework 5.3, complete task 1
This commit is contained in:
4
src/homework/05-virtualization/5.3/nginx/Dockerfile
Normal file
4
src/homework/05-virtualization/5.3/nginx/Dockerfile
Normal 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
|
||||
8
src/homework/05-virtualization/5.3/nginx/index.html
Normal file
8
src/homework/05-virtualization/5.3/nginx/index.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
Hey, Netology
|
||||
</head>
|
||||
<body>
|
||||
<h1>I`m DevOps Engineer!</h1>
|
||||
</body>
|
||||
</html>
|
||||
9
src/homework/05-virtualization/5.3/nginx/site.conf
Normal file
9
src/homework/05-virtualization/5.3/nginx/site.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /var/www/netology;
|
||||
index index.html index.htm;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user