removed default config

This commit is contained in:
ElevenNotes
2023-08-29 09:24:14 +02:00
parent 35ee447e50
commit 62d7ef079c
3 changed files with 3 additions and 74 deletions

View File

@@ -102,10 +102,9 @@
# :: update image
RUN set -ex; \
apk update; \
apk upgrade; \
apk add --update --no-cache \
pcre2-dev;
apk add --no-cache \
pcre2-dev; \
apk --no-cache upgrade;
# :: prepare image
RUN set -ex; \

View File

@@ -1,9 +0,0 @@
server {
listen 8080 default_server;
server_name _;
root /nginx/www;
location / {
try_files $uri /index.html;
}
}

View File

@@ -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 />
&emsp;-v volume-etc:/nginx/etc \<br />
&emsp;-v volume-www:/nginx/www \<br />
&emsp;-v volume-ssl:/nginx/ssl:ro \<br />
&emsp;-d 11notes/nginx:[tag]
</div>
</div>
</div>
</body>
</html>