Add caddy-example.conf
This commit is contained in:
parent
a818e6ad47
commit
0a2ac572d4
18
caddy-example.conf
Normal file
18
caddy-example.conf
Normal file
@ -0,0 +1,18 @@
|
||||
:80 {
|
||||
root * /var/www/html
|
||||
file_server
|
||||
}
|
||||
|
||||
:443 {
|
||||
root * /var/www/html
|
||||
file_server
|
||||
}
|
||||
|
||||
www.example.com {
|
||||
redir https://gitserver.in{uri}
|
||||
}
|
||||
|
||||
example.com {
|
||||
tls user@email.com
|
||||
reverse_proxy localhost:8080
|
||||
}
|
Loading…
Reference in New Issue
Block a user