Customise Caddyfile / Expanded default Caddyfile #3666
Unanswered
nikspyratos
asked this question in
Help needed
Replies: 1 comment 2 replies
-
Sure. Let's improve the template. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Is there a recommended way of having a custom Caddyfile for a provisioned site? Currently the template is hardcoded in the
provision:website
task. What I'm thinking of is using the same command used here to overwrite the Caddyfile with an expanded one based on the default.Alternatively, Is there any particular objection to expanding this template? I think there are some sane defaults here and here that apply to most PHP applications and not just Laravel -
file_server
directive, zstd and gzip encoding, the safety rewrites and default headers.Beta Was this translation helpful? Give feedback.
All reactions