This enables HTTPS redirecting at it too much more easily, and matches the gateway configuration. Requires using upstream versions of nginx to enable https://nginx.org/en/docs/stream/ngx_stream_realip_module.html
11 lines
182 B
YAML
11 lines
182 B
YAML
- name: restart wireguard
|
|
service:
|
|
name: wg-quick@wg0
|
|
state: restarted
|
|
become: true
|
|
|
|
- name: restart nginx
|
|
service:
|
|
name: nginx
|
|
state: restarted
|
|
become: true
|