Skip to content

Instantly share code, notes, and snippets.

View dequn's full-sized avatar

dequn dequn

  • PayPal
  • Shanghai, China
View GitHub Profile
@dequn
dequn / lsyncd.service
Created May 8, 2018 01:51 — forked from Finkregh/lsyncd.service
systemd-service file for lsyncd
[Unit]
Description=Live Syncing (Mirror) Daemon
After=network.target
[Service]
Restart=always
Type=simple
Nice=19
#EnvironmentFile=-/etc/default/lsyncd
#ExecStart=/usr/bin/sh -c 'eval `/usr/bin/lsyncd -nodaemon $LSYNCD_OPTIONS /etc/lsyncd/lsyncd.conf.lua`'
@dequn
dequn / nginx.conf
Created August 17, 2018 08:19 — forked from lciolecki/nginx.conf
Nginx config for django rest framework + angular application
server {
listen 80;
listen 443 ssl;
server_name your-domain.com;
charset utf-8;
client_max_body_size 32M;
root /project/static;
index index.html;