This commit is contained in:
Kaley, Fischer 2024-04-02 19:10:24 +02:00
parent d9be628276
commit e9ec9f08c5
2 changed files with 1 additions and 13 deletions

View file

@ -1,12 +0,0 @@
server {
# OWOWOWOWOWOW
listen 80 http2;
root /var/www/html/public;
index index.html;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}

View file

@ -8,6 +8,6 @@ services:
- "80:80" - "80:80"
volumes: volumes:
- "./data/conf/nginx.conf:/etc/nginx/nginx.conf" - "./data/conf/nginx.conf:/etc/nginx/nginx.conf"
- "./data/sites/default:/etc/nginx/conf.d/default.conf" - "./data/sites/:/etc/nginx/conf.d/"
- "./data/html/:/var/www/html/" - "./data/html/:/var/www/html/"
- "./data/certs/:/etc/certs/" - "./data/certs/:/etc/certs/"