Skip to content

Instantly share code, notes, and snippets.

@ChrisX2016
ChrisX2016 / supervisord-example.conf
Created April 13, 2017 05:33 — forked from didip/supervisord-example.conf
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
@ChrisX2016
ChrisX2016 / nginx_inverse_proxy
Created April 13, 2017 04:26 — forked from osharim/Run django and nodejs running over nginx in the same server
For those people who want django and nodejs running over nginx.
#Django Config
server {
server_name domain.com;
access_log on;
location / {
proxy_pass http://127.0.0.1:8001;
@ChrisX2016
ChrisX2016 / nginx_inverse_proxy
Created April 13, 2017 04:26 — forked from osharim/Run django and nodejs running over nginx in the same server
For those people who want django and nodejs running over nginx.
#Django Config
server {
server_name domain.com;
access_log on;
location / {
proxy_pass http://127.0.0.1:8001;