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
|
||||
state: started
|
||||
|
||||
- name: Add Caddy reverse proxy config 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
|
||||
- name: Create Caddy reverse proxy configuration for forgejo
|
||||
copy:
|
||||
dest: "{{ caddy_sites_dir }}/forgejo.conf"
|
||||
content: |
|
||||
{{ uptime_kuma_domain }} {
|
||||
reverse_proxy localhost:{{ uptime_kuma_port }}
|
||||
{{ forgejo_domain }} {
|
||||
reverse_proxy localhost:{{ forgejo_port }}
|
||||
}
|
||||
owner: root
|
||||
group: root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue