40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
|
#!/usr/bin/env ansible-playbook
|
||
|
# vim:ft=ansible:
|
||
|
|
||
|
# Core container configuration
|
||
|
ingress_container_image: jonasal/nginx-certbot:latest
|
||
|
ingress_container_name: ingress
|
||
|
|
||
|
# Secondary container configuration
|
||
|
ingress_container_http_port: "80"
|
||
|
ingress_container_https_port: "443"
|
||
|
ingress_container_persist_dir: "/data/nginx-certbot"
|
||
|
ingress_container_timezone: America/Chicago
|
||
|
|
||
|
# Network configuration
|
||
|
ingress_container_networks:
|
||
|
- name: web
|
||
|
aliases: [ "ingress" ]
|
||
|
|
||
|
# Certbot configuration
|
||
|
ingress_container_certbot_email: rehashedsalt@cock.li
|
||
|
|
||
|
# Vhost configuration
|
||
|
# ingress_servers:
|
||
|
# - name: example.com
|
||
|
# proxies:
|
||
|
# - location: /
|
||
|
# pass: http://some-container:80
|
||
|
# locations:
|
||
|
# - location: "^~ /.well-known"
|
||
|
# contents: |
|
||
|
# location = /.well-known/carddav { return 301 /remote.php/dav/; }
|
||
|
# location = /.well-known/caldav { return 301 /remote.php/dav/; }
|
||
|
# location ^~ /.well-known { return 301 /index.php$uri; }
|
||
|
# try_files $uri $uri/ =404;
|
||
|
# - name: redirect.example.com
|
||
|
# directives:
|
||
|
# # NOTE: Do NOT suffix with a semicolon; that gets added for you
|
||
|
# - "return 301 $scheme://example.com$request_uri"
|
||
|
ingress_servers: []
|