Skip to content

Commit

Permalink
scripts and default.conf updated
Browse files Browse the repository at this point in the history
  • Loading branch information
yehorbk committed Oct 11, 2022
1 parent 7d7ce8b commit 6e14a31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lab-1/nginx/default.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
server {
listen 80;
listen [::]:80;
server_name localhost;
server_name localhost;

location / {
root /usr/share/nginx/lab-1;
index index.html index.htm;
index index.html;
}
}
4 changes: 2 additions & 2 deletions lab-1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"docker:build": "docker build . -t lab-1",
"docker:start": "docker run -p 9876:80 lab-1"
"docker:build": "docker build . -t multipleton/lab-1",
"docker:start": "docker run --name lab1 -p 9876:80 multipleton/lab-1"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit 6e14a31

Please sign in to comment.