computer-playbook/roles/native-https-redirect/templates/redirect.domain.nginx.conf.j2

6 lines
156 B
Plaintext
Raw Normal View History

server {
server_name {{domain}};
{% include 'roles/native-letsencrypt/templates/ssl_header.j2' %}
return 301 https://{{target_domain}}$request_uri;
}