fix: removed version section and removed some useless things

This commit is contained in:
Kaley, Fischer 2024-04-05 00:19:24 +02:00
parent e151eb4313
commit 55ed88d9ee
3 changed files with 2 additions and 6 deletions

View file

@ -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/>

View file

@ -1,6 +1,5 @@
server {
# OWOWOWOWOWOW
listen 80 http2;
listen 80;
root /var/www/html;
index index.html;

View file

@ -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!