Files
ansible-pull/roles/mastodon/templates/letsencrypt.conf.j2
2022-03-15 14:23:01 +01:00

8 lines
250 B
Django/Jinja

# This starts a simple nginx for the letsencrypt acme challenge
server {
listen 80;
listen [::]:80;
server_name {{ mastodon_host }};
root {{ mastodon_home }}/{{ mastodon_path }}/public;
location /.well-known/acme-challenge/ { allow all; }
}