Skip to content

Instantly share code, notes, and snippets.

View dominicphillips's full-sized avatar
🎯
Focusing

Dom dominicphillips

🎯
Focusing
View GitHub Profile
@dominicphillips
dominicphillips / nginx.conf
Created November 6, 2017 15:02 — forked from mjumbewu/nginx.conf
Simple SSL-enabled nginx config to serve static files
server {
listen 80;
return 301 https://\$host\$request_uri;
}
server {
listen 443 ssl;
ssl_certificate [PATH_TO_SSL_CERT];
ssl_certificate_key [PATH_TO_SSL_CERT_KEY];
@dominicphillips
dominicphillips / supervisord-example.conf
Created June 8, 2012 08:39
Example configuration file for supervisord.conf
[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=false ; run supervisord as a daemon