Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simple Webserver in Docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dws
Simple Webserver in Docker
Commits
dc545c0e
Commit
dc545c0e
authored
3 months ago
by
Hoai Viet Nguyen
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+5
-0
5 additions, 0 deletions
Dockerfile
index.html
+12
-0
12 additions, 0 deletions
index.html
nginx.conf
+7
-0
7 additions, 0 deletions
nginx.conf
with
24 additions
and
0 deletions
Dockerfile
0 → 100644
+
5
−
0
View file @
dc545c0e
FROM
nginx:stable-alpine
COPY
nginx.conf /etc/nginx/conf.d/default.conf
COPY
index.html /usr/share/nginx/html/index.html
\ No newline at end of file
This diff is collapsed.
Click to expand it.
index.html
0 → 100644
+
12
−
0
View file @
dc545c0e
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Hello World
</title>
</head>
<body>
Hello World from Nginx
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
nginx.conf
0 → 100644
+
7
−
0
View file @
dc545c0e
server
{
listen
80
;
server_tokens
off
;
root
/usr/share/nginx/html
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment