nginx/nginx_site_http.conf.j2
2026-02-10 08:49:44 +01:00

13 lines
269 B
Django/Jinja

server {
listen 80;
server_name {{ domain_name }};
root /var/www/{{ domain_name }};
index index.html;
location / {
auth_basic "Accès restreint";
auth_basic_user_file {{ htpasswd_file }};
try_files $uri $uri/ =404;
}
}