removed default config
This commit is contained in:
@@ -102,10 +102,9 @@
|
|||||||
|
|
||||||
# :: update image
|
# :: update image
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk update; \
|
apk add --no-cache \
|
||||||
apk upgrade; \
|
pcre2-dev; \
|
||||||
apk add --update --no-cache \
|
apk --no-cache upgrade;
|
||||||
pcre2-dev;
|
|
||||||
|
|
||||||
# :: prepare image
|
# :: prepare image
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 8080 default_server;
|
|
||||||
server_name _;
|
|
||||||
root /nginx/www;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
try_files $uri /index.html;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>11notes/nginx:stable</title>
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata" />
|
|
||||||
<style>
|
|
||||||
html,
|
|
||||||
body {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.container {
|
|
||||||
height: 100%;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
display: -webkit-box;
|
|
||||||
display: -moz-box;
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: -webkit-flex;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
align-self: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text {
|
|
||||||
font-size:1em; cursor:default;
|
|
||||||
font-family:'Inconsolata';
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment {
|
|
||||||
font-size:1em; cursor:default;
|
|
||||||
font-family:'Inconsolata';
|
|
||||||
color:darkgreen;
|
|
||||||
font-style:italic;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
<div class="content">
|
|
||||||
<div class="text">
|
|
||||||
docker run --name nginx \<br />
|
|
||||||
 -v volume-etc:/nginx/etc \<br />
|
|
||||||
 -v volume-www:/nginx/www \<br />
|
|
||||||
 -v volume-ssl:/nginx/ssl:ro \<br />
|
|
||||||
 -d 11notes/nginx:[tag]
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Reference in New Issue
Block a user