ansible-role-mastodon/files/nginx/letsencrypt.conf.j2

8 lines
No EOL
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; }
}