test: forgjeo
This commit is contained in:
parent
ca1d66c8cb
commit
b26ddc708c
2 changed files with 10 additions and 1 deletions
|
@ -83,7 +83,7 @@
|
||||||
register: ssl_file_result
|
register: ssl_file_result
|
||||||
|
|
||||||
- name: Return motd to registered var
|
- 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
|
when: not ssl_file_result.stat.exists
|
||||||
|
|
||||||
|
|
||||||
|
|
9
debian12-forgejo/templates/nginx-site
Normal file
9
debian12-forgejo/templates/nginx-site
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name {{ domain }};
|
||||||
|
|
||||||
|
location / { # Note: Trailing slash
|
||||||
|
proxy_pass http://localhost:3000; # Note: Trailing slash
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue