Timotej Lazar
973522c373
To reuse alpine and nginx roles. Probably going to merge repos at some point.
14 lines
301 B
Django/Jinja
14 lines
301 B
Django/Jinja
server {
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
server_name {{ dns_name }};
|
|
|
|
ssl_certificate /etc/letsencrypt/live/{{ dns_name }}/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/{{ dns_name }}/privkey.pem;
|
|
|
|
location / {
|
|
uwsgi_pass unix:/run/friwall.socket;
|
|
include uwsgi_params;
|
|
}
|
|
}
|