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

View file

@ -5,9 +5,9 @@ services:
restart: always restart: always
image: nginx:latest image: nginx:latest
ports: ports:
- "80:80" - "80:80" # Change this if you want to use SSL or anything else.
volumes: volumes:
- "./data/conf/nginx.conf:/etc/nginx/nginx.conf" - "./data/conf/nginx.conf:/etc/nginx/nginx.conf" # The nginx config.
- "./data/sites/:/etc/nginx/conf.d/" - "./data/sites/:/etc/nginx/conf.d/" # This has the configuration for configuring sites and enabling them.
- "./data/html/:/var/www/html/" - "./data/html/:/var/www/html/" # Where the website source code resides.
- "./data/certs/:/etc/certs/" - "./data/certs/:/etc/certs/" # Put your SSL certificates in here!