test: forgjeo

This commit is contained in:
Kekskurse 2023-08-05 20:08:06 +02:00
parent ca1d66c8cb
commit b26ddc708c
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4
2 changed files with 10 additions and 1 deletions

View file

@ -83,7 +83,7 @@
register: ssl_file_result
- name: Return motd to registered var
ansible.builtin.command: certbot -n --nginx --agree-tos -m {{ sslmail }} -d {{ domain }}
ansible.builtin.command: certbot -n --test-cert --nginx --agree-tos -m {{ sslmail }} -d {{ domain }}
when: not ssl_file_result.stat.exists

View file

@ -0,0 +1,9 @@
server {
listen 80;
server_name {{ domain }};
location / { # Note: Trailing slash
proxy_pass http://localhost:3000; # Note: Trailing slash
}
}