--- # nginx_vhost: # default: yes # name: example # template: generic-proxy-no-buffering-with-acme # acme: yes # hostnames: # - example.com # - www.example.com # proxy_pass: http://127.0.0.1:8080 # proxy_redirect: # - redirect: "http://$host/" # replacement: "https://$host/" # - redirect: "http://$host:8080/" # replacement: "https://$host/" # proxy_ssl: # verify: on # trusted_certificate: /path/to/ca.pem # nginx_vhost: # name: other-example # content: "<<< content of vhost >>>" # nginx_vhost: # name: static # template: static-files-with-acme # acme: yes # hostnames: # - static.example.com # extra_directives: |- # add_header X-Example-Header "foo"; # locations: # '/': # root: /srv/www/static # index: index.html # autoindex: # format: json # extra_directives: |- # add_header X-Example-Header "foo"; # '/subdir/': # alias: /srv/www/foo