mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-08 10:44:46 -04:00
markdown fix
parent
b7d16866fa
commit
e916b69d8c
@ -12,9 +12,9 @@ Example for an init script on FreeBSD: https://gist.github.com/dprandzioch/f3a0b
|
|||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
You can use [nssm.cc](https://nssm.cc/) in order to automaticaly launch, and restart if crashed Caddy.
|
You can use [nssm.cc](https://nssm.cc/) in order to automaticaly launch, and restart if crashed Caddy.
|
||||||
First download both NSSM and Caddy then extract them to c:\myserver\
|
|
||||||
Then install Caddy as a service by entering the following commands in your Terminal:
|
1. First download both NSSM and Caddy then extract them to c:\myserver\
|
||||||
`c:\myserver\nssm.exe install Caddy c:\myserver\caddy.exe`
|
2. Then install Caddy as a service by entering the following commands in your Terminal:
|
||||||
|
|
||||||
|
`c:\myserver\nssm.exe install Caddy c:\myserver\caddy.exe`
|
||||||
`c:\myserver\nssm.exe set Caddy AppDirectory C:\myserver\`
|
`c:\myserver\nssm.exe set Caddy AppDirectory C:\myserver\`
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user