freckles · a minimal interface to all tings devops

PHOTO EMBED

Wed Mar 03 2021 03:43:09 GMT+0000 (UTC)

Saved by @faisalhumayun #bash #freckles

# configuration, save as: hello-world.frecklet

- static-website-from-folder:
    hostname: "{{:: domain ::}}"     # vhost config
    path: /var/www/html
    webserver: apache
    use_https: true
    server_admin: hello@example.com  # for let's Encrypt
- file-with-content:
    owner: www-data
    path: /var/www/html/index.html
    content: |
      <h1><i>{{:: domain ::}}</i> says "hello", World!</h1>
content_copyCOPY

https://freckles.io/