first commit

This commit is contained in:
2026-02-28 00:02:02 +01:00
commit 6295c58d33
36 changed files with 7017 additions and 0 deletions

24
nginx/vhost-host.conf Normal file
View File

@@ -0,0 +1,24 @@
# /etc/nginx/sites-available/leerdoelen
#
# Vereisten op de host:
# certbot --nginx -d leerdoelen.jouwdomein.be
# Of als je al een wildcard cert hebt, pas ssl_certificate paden aan.
server {
listen 80;
server_name leerdoelen.jouwdomein.be;
# Certbot voegt hier automatisch de SSL redirect en het 443 blok aan toe.
# Voer daarna uit: certbot --nginx -d leerdoelen.jouwdomein.be
access_log /var/log/nginx/leerdoelen.access.log;
error_log /var/log/nginx/leerdoelen.error.log;
location / {
proxy_pass http://127.0.0.1:5000;
include /etc/nginx/snippets/proxy-params.conf;
client_max_body_size 10M;
proxy_read_timeout 60s;
}
}