Skip to content

Commit

Permalink
feat(readme): docs
Browse files Browse the repository at this point in the history
  • Loading branch information
janikvonrotz committed Feb 24, 2025
1 parent f5c0d96 commit ea60fd5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
5 changes: 0 additions & 5 deletions roles/dribdat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ And include it in your playbook.
Setup this Nginx configuration for the `drib01` host:

```yaml
nginx_http_options: |
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
nginx_proxies:
- src_hostname: hack.example.com
dest_hostname: drib01
Expand Down
16 changes: 16 additions & 0 deletions roles/n8n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,19 @@ And include it in your playbook.
roles:
- role: n8n
```
## Docs
### Nginx config
Setup this Nginx configuration for the `n8n01-prod` host:

```yaml
nginx_proxies:
- src_hostname: n8n.example.com
dest_hostname: n8n01-prod
dest_port: 3000
ssl: true
options: |
include /etc/nginx/conf.d/proxy-params.conf;
```
2 changes: 1 addition & 1 deletion roles/n8n_exporter/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Include {{ role_name }} tasks
ansible.builtin.include_tasks: "{{ role_name }}.yml"
when: n8n_hostname is defined
when: n8n_exporter_proxy_basic_auth_password is defined
tags:
- n8n_exporter

0 comments on commit ea60fd5

Please sign in to comment.