Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
d95c21de
Commit
d95c21de
authored
Mar 16, 2016
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme with build script and link to CLI docs
parent
4f4b34d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
d95c21de
...
...
@@ -102,14 +102,14 @@ Note: You will need **[Go 1.6](https://golang.org/dl/)** or newer.
2.
`cd`
into your website's directory
3.
Run
`caddy`
(assumes
`$GOPATH/bin`
is in your
`$PATH`
)
If you're tinkering, you can also use
`
go run main.go
`
.
If you're tinkering, you can also use
`
./build.bash && ./ecaddy
`
.
By default, Caddy serves the current directory at
[
localhost:2015
](
http://localhost:2015
)
. You can place a Caddyfile to configure
Caddy for serving your site.
Caddy accepts some flags from the command line. Run
`caddy -h`
to view the help
for flags
. You can also pipe a Caddyfile into the caddy command
.
for flags
or see the
[
CLI documentation
](
https://caddyserver.com/docs/cli
)
.
**Running as root:**
We advise against this; use setcap instead, like so:
`setcap cap_net_bind_service=+ep ./caddy`
This will allow you to listen on
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment