improve forgejo playbook
This commit is contained in:
parent
8766af831c
commit
f439eec43e
1 changed files with 3 additions and 12 deletions
|
|
@ -68,21 +68,12 @@
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
- name: Add Caddy reverse proxy config for Forgejo
|
- name: Create Caddy reverse proxy configuration for forgejo
|
||||||
copy:
|
|
||||||
dest: "{{ caddy_config_path }}"
|
|
||||||
mode: '0644'
|
|
||||||
content: |
|
|
||||||
{{ caddy_site_domain }} {
|
|
||||||
reverse_proxy localhost:3000
|
|
||||||
}
|
|
||||||
|
|
||||||
- name: Create Caddy reverse proxy configuration for uptime kuma
|
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ caddy_sites_dir }}/forgejo.conf"
|
dest: "{{ caddy_sites_dir }}/forgejo.conf"
|
||||||
content: |
|
content: |
|
||||||
{{ uptime_kuma_domain }} {
|
{{ forgejo_domain }} {
|
||||||
reverse_proxy localhost:{{ uptime_kuma_port }}
|
reverse_proxy localhost:{{ forgejo_port }}
|
||||||
}
|
}
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue