mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
Add Caddy simple setup
This commit is contained in:
10
templates/caddy/simple/Caddyfile
Normal file
10
templates/caddy/simple/Caddyfile
Normal file
@@ -0,0 +1,10 @@
|
||||
# Static content server
|
||||
domain.com {
|
||||
root * /srv/static
|
||||
file_server
|
||||
}
|
||||
|
||||
# Reverse proxy
|
||||
ssl.test.benitez.ar {
|
||||
reverse_proxy * http://{CONTAINER_NAME}:{CONTAINER_PORT}
|
||||
}
|
||||
Reference in New Issue
Block a user