{"action":"opened","issue":{"url":"https://api.github.com/repos/techknowlogick/caddy-s3browser/issues/2","repository_url":"https://api.github.com/repos/techknowlogick/caddy-s3browser","labels_url":"https://api.github.com/repos/techknowlogick/caddy-s3browser/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/techknowlogick/caddy-s3browser/issues/2/comments","events_url":"https://api.github.com/repos/techknowlogick/caddy-s3browser/issues/2/events","html_url":"https://github.com/techknowlogick/caddy-s3browser/issues/2","id":388749369,"node_id":"MDU6SXNzdWUzODg3NDkzNjk=","number":2,"title":"Unknown Directive","user":{"login":"mcrosson","id":2058383,"node_id":"MDQ6VXNlcjIwNTgzODM=","avatar_url":"https://avatars0.githubusercontent.com/u/2058383?v=4","gravatar_id":"","url":"https://api.github.com/users/mcrosson","html_url":"https://github.com/mcrosson","followers_url":"https://api.github.com/users/mcrosson/followers","following_url":"https://api.github.com/users/mcrosson/following{/other_user}","gists_url":"https://api.github.com/users/mcrosson/gists{/gist_id}","starred_url":"https://api.github.com/users/mcrosson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcrosson/subscriptions","organizations_url":"https://api.github.com/users/mcrosson/orgs","repos_url":"https://api.github.com/users/mcrosson/repos","events_url":"https://api.github.com/users/mcrosson/events{/privacy}","received_events_url":"https://api.github.com/users/mcrosson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-07T17:38:21Z","updated_at":"2018-12-07T17:38:21Z","closed_at":null,"author_association":"NONE","body":"When including this plugin as part of the Caddy download I can't seem to activate the plugin. I keep receiving an \"Unknown Directive\" error whenever I try to validate my Caddyfile. I've tried various combinations and configuration options with no success. I'm running minio on localhost at port 9009.\r\n\r\nI've also checked ```caddy -plugins``` and http.s3browser is present.\r\n\r\nAny help would be greatly appreciated.\r\n\r\nMy main caddy file:\r\n```\r\n# Individual configs are in their own files\r\nimport /etc/caddy/services/*.conf\r\n```\r\n\r\nMy dl.website.conf file (where s3browser should be activating\r\n```\r\ndl.website.domain:80 dl.website.domain:443 {\r\n    log /var/log/caddy/dl.log\r\n\r\n    redir 301 {\r\n        if {scheme} is http\r\n        / https://dl.website.domain{uri}\r\n    }\r\n\r\n    s3browser {\r\n        key [providedkey]\r\n        secret [providedsecret]\r\n        bucket [providedbucket]\r\n        endpoint localhost\r\n    }\r\n    proxy / http://127.0.0.1:9009 {\r\n        header_upstream Host 127.0.0.1\r\n    }\r\n\r\n    # Use acme.sh Let's Encrypt SSL cert setup\r\n    tls fullchain.cer dl.website.domain.key\r\n}\r\n```"}}
{"actor":{"display_login":"mcrosson"}}