summaryrefslogtreecommitdiff
path: root/caddyconfig/httpcaddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'caddyconfig/httpcaddyfile')
-rw-r--r--caddyconfig/httpcaddyfile/directives.go2
-rw-r--r--caddyconfig/httpcaddyfile/httptype.go4
2 files changed, 1 insertions, 5 deletions
diff --git a/caddyconfig/httpcaddyfile/directives.go b/caddyconfig/httpcaddyfile/directives.go
index 31029c6..573db8d 100644
--- a/caddyconfig/httpcaddyfile/directives.go
+++ b/caddyconfig/httpcaddyfile/directives.go
@@ -34,8 +34,8 @@ var defaultDirectiveOrder = []string{
"templates",
"redir",
"static_response", // TODO: "reply" or "respond"?
- "php_fastcgi",
"reverse_proxy",
+ "php_fastcgi",
"file_server",
}
diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go
index d183c7c..63cbf8d 100644
--- a/caddyconfig/httpcaddyfile/httptype.go
+++ b/caddyconfig/httpcaddyfile/httptype.go
@@ -37,10 +37,6 @@ func init() {
type ServerType struct {
}
-// TODO: customize directive ordering
-
-// TODO: hide caddyfile when serving static files
-
// Setup makes a config from the tokens.
func (st ServerType) Setup(originalServerBlocks []caddyfile.ServerBlock,
options map[string]interface{}) (*caddy.Config, []caddyconfig.Warning, error) {