pages: fixed index.html and added some notes to docker-compose.yml

This commit is contained in:
Kaley, Fischer 2024-04-03 21:24:09 +02:00
parent 329ec3b82c
commit e151eb4313
2 changed files with 11 additions and 14 deletions

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Server Startpage!</title>
<title>ngin-docker!</title>
<style>
html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
@ -9,15 +9,12 @@ font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
</head>
<body>
<h1>Server BOOBA Startpage!</h1>
<p>OWOWOWOWOWOWOOWOWOWWO
working. Further configuration is required.</p>
<h1>Nginx in a Docker container!</h1>
<p>.</p>
<p>For online documentation and support please refer to
<a href="http://searxng.home.arpa/">searxng</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>
<p>For online documentation please refer to my website:
<a href="https://kaleyfischer.xyz/">WIP</a>.<br/>
<p><em>Thank you for using nginx.</em></p>
<p><em>Thank you for using my nginx docker container.</em></p>
</body>
</html>

View file

@ -5,9 +5,9 @@ services:
restart: always
image: nginx:latest
ports:
- "80:80"
- "80:80" # Change this if you want to use SSL or anything else.
volumes:
- "./data/conf/nginx.conf:/etc/nginx/nginx.conf"
- "./data/sites/:/etc/nginx/conf.d/"
- "./data/html/:/var/www/html/"
- "./data/certs/:/etc/certs/"
- "./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/html/:/var/www/html/" # Where the website source code resides.
- "./data/certs/:/etc/certs/" # Put your SSL certificates in here!