Last active
June 27, 2016 09:21
-
-
Save cedced19/1d1271455141f893486416ca18b3f4cc to your computer and use it in GitHub Desktop.
My caddy configuration https://caddyserver.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Caddy Service | |
After=network.target syslog.target remote-fs.target nss-lookup.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/local/caddy/caddy -pidfile=caddy.pid -agree=true | |
WorkingDirectory=/usr/local/caddy | |
PIDFile=/usr/local/caddy/caddy.pid | |
ExecReload=/bin/kill -s HUP $MAINPID | |
ExecStop=/bin/kill -s QUIT $MAINPID | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mydomain.com:443 { | |
tls [email protected] | |
proxy / localhost:7772 { | |
except /views /fonts /javascripts /langs | |
} | |
root /node/learn-memory/public | |
gzip | |
} | |
mydomain.com:8082 { | |
tls [email protected] | |
proxy / 192.168.0.39:8082 | |
gzip | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment