# Tectum (configurator) als statische site achter één wachtwoord (server/tectum-setup.sh vult __DOMAIN__ in; # certbot voegt HTTPS en de doorverwijzing toe; de ACME-controle valt niet onder auth_basic). server { listen 80; listen [::]:80; server_name __DOMAIN__; root /srv/www/tectum/current; index index.html; auth_basic "Tectum"; auth_basic_user_file /etc/nginx/tectum.htpasswd; add_header X-Robots-Tag "noindex, nofollow" always; location / { try_files $uri $uri/ =404; # steeds even navragen zodat een nieuwe versie meteen zichtbaar is add_header Cache-Control "no-cache"; add_header X-Robots-Tag "noindex, nofollow" always; } location /assets/ { access_log off; add_header Cache-Control "no-cache"; add_header X-Robots-Tag "noindex, nofollow" always; } }