Skip to content

Instantly share code, notes, and snippets.

View Exodus's full-sized avatar

Miguel A. Alvarado V. Exodus

View GitHub Profile
@Exodus
Exodus / nginx.conf
Created August 27, 2019 17:27
A little optimized nginx.conf
user nginx;
# Set number of worker processes automatically based on number of CPU cores.
worker_processes auto;
# Enables the use of JIT for regular expressions to speed-up their processing.
pcre_jit on;
# Specify where the PID of nginx will be written
pid /nginx.pid;
@Exodus
Exodus / example.service
Created May 14, 2018 15:07
Example systemd timer + service
[Unit]
Description=Example Service
Documentation=man:example(8) man:example.conf(5)
ConditionACPower=true
[Service]
Type=oneshot
ExecStart=/usr/bin/example /etc/example.conf

Keybase proof

I hereby claim:

  • I am exodus on github.
  • I am alvaradoma (https://keybase.io/alvaradoma) on keybase.
  • I have a public key ASAYQzB2pHMh0OEB3hdxTHsCDwuPhdtwtMDNtwaF5p8wRwo

To claim this, I am signing this object: