framework icon indicating copy to clipboard operation
framework copied to clipboard

Added Caddyfile

Open d1rk opened this issue 9 years ago • 2 comments

This enables caddy server to be used without additional configuration.

usage

Clone the repository, cd into it and run caddy

requirements

You only need to have caddy installed and php-fpm running on port 9000.

see https://caddyserver.com/docs/caddyfile

d1rk avatar Aug 10 '16 11:08 d1rk

Let's add this to the WebServers section of the manual. Configuration files are already piling up in the framework repo.

https://github.com/UnionOfRAD/manual/blob/master/01_installation/03_web_servers.md

What d'you think?

mariuswilms avatar Aug 26 '16 14:08 mariuswilms

Hi @davidpersson - to be honest, i think lithium could benefit from that file in the root directory. Since caddy is the easiest to use web server, it would allow even not so tech-savvy people to run a proper web server with lithium already installed. Caddy is cross-platform and has no dependencies. It's a single binary file that's easy to deploy, you would just need to copy it.

I also created a pull-request for the manual as well, but would like to see this file added here. https://github.com/UnionOfRAD/manual/pull/98

d1rk avatar Sep 23 '16 08:09 d1rk