Skip to content

Instantly share code, notes, and snippets.

View n00rm's full-sized avatar
👌
doing stuff

Norman K. n00rm

👌
doing stuff
  • Internet
  • 01:35 (UTC +02:00)
View GitHub Profile
@n00rm
n00rm / hcloud.sh
Created October 28, 2021 20:18 — forked from tboerger/hcloud.sh
Dynamic inventory for Ansible on Hetzner Cloud
#!/usr/bin/env python3
import json
import requests
import os
def main():
api_key = os.environ.get('HCLOUD_TOKEN', '')
if not api_key.strip():
@n00rm
n00rm / README.md
Created January 24, 2022 11:02 — forked from arikfr/README.md
Setting up HTTPS with LetsEncrypt for Redash Docker Deployment
  1. Make sure the domain you picked points at the IP of your Redash server.
  2. Switch to the root user (sudo su).
  3. Create a folder named nginx in /opt/redash.
  4. Create in the nginx folder two additional folders: certs and certs-data.
  5. Create the file /opt/redash/nginx/nginx.conf and place the following in it: (replace example.redashapp.com with your domain name)
    upstream redash {
        server redash:5000;
    }