fix: removed version section and removed some useless things
This commit is contained in:
parent
e151eb4313
commit
55ed88d9ee
3 changed files with 2 additions and 6 deletions
|
@ -10,7 +10,6 @@ font-family: Tahoma, Verdana, Arial, sans-serif; }
|
|||
</head>
|
||||
<body>
|
||||
<h1>Nginx in a Docker container!</h1>
|
||||
<p>.</p>
|
||||
|
||||
<p>For online documentation please refer to my website:
|
||||
<a href="https://kaleyfischer.xyz/">WIP</a>.<br/>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
server {
|
||||
# OWOWOWOWOWOW
|
||||
listen 80 http2;
|
||||
listen 80;
|
||||
|
||||
root /var/www/html;
|
||||
index index.html;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
nginx:
|
||||
restart: always
|
||||
|
@ -8,6 +6,6 @@ services:
|
|||
- "80:80" # Change this if you want to use SSL or anything else.
|
||||
volumes:
|
||||
- "./data/conf/nginx.conf:/etc/nginx/nginx.conf" # The nginx config.
|
||||
- "./data/sites/:/etc/nginx/conf.d/" # This has the configuration for configuring sites and enabling them.
|
||||
- "./data/sites/default.conf:/etc/nginx/conf.d/default.conf" # This has the configuration for configuring sites and enabling them.
|
||||
- "./data/html/:/var/www/html/" # Where the website source code resides.
|
||||
- "./data/certs/:/etc/certs/" # Put your SSL certificates in here!
|
||||
|
|
Loading…
Add table
Reference in a new issue