mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 02:02:26 -04:00
Initial Home page
commit
61b5a15477
27
Home.md
Normal file
27
Home.md
Normal file
@ -0,0 +1,27 @@
|
||||
Caddy
|
||||
=====
|
||||
|
||||
Caddy is a general-purpose web server that's easy to use.
|
||||
|
||||
Quick Start
|
||||
------------
|
||||
|
||||
To start a static file server in the current directory, get Caddy and run:
|
||||
|
||||
```
|
||||
$ caddy
|
||||
```
|
||||
|
||||
Then load localhost:8080 in your browser.
|
||||
|
||||
Chances are, though, that you want to serve pages under a different hostname (your domain) and port (80 or 443).
|
||||
|
||||
1. Make a file called `Caddyfile` with these contents:
|
||||
|
||||
```
|
||||
mydomain.com:80
|
||||
```
|
||||
|
||||
2. Run `caddy`. If the Caddyfile isn't in the current directory, specify the path: `caddy -conf=/path/to/Caddyfile`
|
||||
|
||||
3. To configure Caddy further, refer to the Caddyfile documentation.
|
Loading…
x
Reference in New Issue
Block a user