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

6 lines
163 B
Plaintext
Raw Normal View History

server {
server_name {{domain}};
2023-04-18 15:41:14 +02:00
{% include 'roles/server_native-letsencrypt/templates/ssl_header.j2' %}
return 301 https://{{target_domain}}$request_uri;
}