Skip to content
#

caddy

Here are 289 public repositories matching this topic...

vjsdhyygy
vjsdhyygy commented Apr 21, 2019

root@server:~/new# caddy install http.filemanager

  Caddy Web Server is already installed on
  /opt/caddyserver/caddy

root@server:~/new# caddy version

  Caddy Web Server v1.0.0-beta2
  Caddy Web Server Installer - v6.1 pre (NEXT)
  PHP 5.5.9-1ubuntu4.27 (cli) (built: Mar  5 2019 18:56:49)

root@server:~/new# caddy start
  Starting Caddy Web Server...2019/04/21 00:03:51 /etc/C
sontags
sontags commented Dec 6, 2018
# caddy -version
Caddy 0.11.1 (non-commercial use only)

Considering the following Caddyfile:

http://www.example.com {
    root /web/www.example.com/public
    git https://github.com/example/example.com {
        hook     /path TOKEN
        branch   {latest}
        path     ..
        then     /hugo --destination=/web/www.example.com/public --cleanDestinationDir
 
rickles42
rickles42 commented Jul 8, 2018

It would be useful if Caddy could treat different cached paths differently, like how Caddy's header directive works. However, looking at setup.go it appears that DefaultMaxAge and other options are global to the whole middleware.

If I try to specify multiple cache blocks in my Caddyfile, Caddy doesn't complain, but I don't see the behavior I would ex

Mohammed90
Mohammed90 commented May 6, 2020

Currently (commit 00eef4cfb164fc91d97ae620bcc7581663ad5854 at the time of this writing), the adapter doesn't completely handle include directive. There's primitive support for the directive, which is why it is not documented as supported. Big part of the reason is due to difficulty in resolution of the absolute path of the file to be included. The resolution problem should be easy to solve now u

tobya
tobya commented Feb 4, 2019

if hook.service is build into caddy using current master if caddy is run from command line in windows and then stopped by ctrl-c the following panic happens

panic: close of closed channel

goroutine 81 [running]:
github.com/mholt/caddy/vendor/github.com/mholt/certmagic.(*Cache).Stop(...)
        D:/godev/src/github.com/mholt/caddy/vendor/github.com/mholt/certmagic/cache.go:87
github.c
f4nff
f4nff commented Jan 18, 2020
root@ubuntu:/home/gopkg/src/github.com/pieterlouw/caddy-net/caddynet# go build caddynet.go
# github.com/caddyserver/caddy/caddytls
/home/gopkg/pkg/mod/github.com/caddyserver/caddy@v1.0.4/caddytls/tls.go:80:42: not enough arguments in call to certmagic.NewDefault().RevokeCert
        have (string, bool)
        want (context.Context, string, bool)
root@ubuntu:/home/gopkg/src/github.com/pi
slowkow
slowkow commented Jan 19, 2017

Expected behavior

In the multipass login form, when I click submit, I expect to receive an email to the address I entered.

Observed behavior

caddy crashes with this error when I click submit:

caddy -conf=/etc/caddy/Caddyfile -log stdout
Activating privacy features... done.
multipass for https://test.quickgene.net is initialized
https://test.quickgene.net
2017/01/19 13:01

Improve this page

Add a description, image, and links to the caddy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the caddy topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.