Skip to content

Instantly share code, notes, and snippets.

View raniellyferreira's full-sized avatar

Ranielly Ferreira raniellyferreira

View GitHub Profile
@raniellyferreira
raniellyferreira / default-npmrc
Created March 3, 2020 17:10 — forked from mrzool/default-npmrc
The default npmrc
;;;;
; npm userconfig file
; this is a simple ini-formatted file
; lines that start with semi-colons are comments.
; read `npm help config` for help on the various options
;;;;
;;;;
; all options with default values
;;;;
@raniellyferreira
raniellyferreira / ansible-letsencrypt-cloudflare.yml
Last active November 1, 2023 17:41
Ansible playbook configuração do certbot para gerar e renovar certificador usando dns do cloudflare
# CloudFlare cloudflare.ini
# dns_cloudflare_email = ""
# dns_cloudflare_api_key = ""
- name: Let's Encrypt SSL certificates
hosts: all
become: yes
vars:
letsencrypt_account_email: example@email.com
secrets_path: /root/.secrets
@raniellyferreira
raniellyferreira / gist:d67316ae69fe193bc9248f24e17c53c1
Created September 16, 2019 21:10 — forked from JFK/gist:4591707
Ngnix + Nginx-GridFS-Replicaset(mongodb) + nginx-image-filter +nginx-proxy-cache Sample Configuration
user www-data;
#worker_processes 4;
#worker_priority 0;
#worker_cpu_affinity 0001 0010 0100 1000;
#worker_rlimit_nofile 163840;
#worker_processes 8;
#worker_priority 0;
#worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000;