creating first admin and update restrictions for ordinary users
This commit is contained in:
18
docker/caddy/caddy.conf
Normal file
18
docker/caddy/caddy.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
example.com {
|
||||
|
||||
encode gzip
|
||||
|
||||
# --- API ---
|
||||
handle_path /api/* {
|
||||
reverse_proxy backend:8000
|
||||
}
|
||||
|
||||
# --- Frontend ---
|
||||
root * /var/www/site
|
||||
file_server
|
||||
|
||||
log {
|
||||
output stdout
|
||||
format console
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user