This repository has been archived on 2023-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
homeserver-ansible/roles/networking/ssl/templates/nginx_bare.conf.j2

20 lines
349 B
Django/Jinja

# Do not use this configuration once setup is finished.
# It is only intended for getting a Let's Encrypt cert, allowing the main config to work.
events {
worker_connections 1024;
}
http {
{% for item in to_regen %}
server {
listen 80;
server_name {{ item }};
root {{ webroot }}/{{ item }};
location / {
}
}
{% endfor %}
}