Skip to content

Instantly share code, notes, and snippets.

Avatar

dequn dequn

View GitHub Profile
@dequn
dequn / nginx.conf
Created Aug 17, 2018 — forked from lciolecki/nginx.conf
Nginx config for django rest framework + angular application
View nginx.conf
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;
@dequn
dequn / lsyncd.service
Created May 8, 2018 — forked from Finkregh/lsyncd.service
systemd-service file for lsyncd
View lsyncd.service
[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`'
You can’t perform that action at this time.