mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 15:22:18 +00:00
feat: add audit log with email notification (#26)
This commit is contained in:
10
reverse-proxy/Caddyfile
Normal file
10
reverse-proxy/Caddyfile
Normal file
@@ -0,0 +1,10 @@
|
||||
:80 {
|
||||
reverse_proxy /api/* http://localhost:8080
|
||||
reverse_proxy /.well-known/* http://localhost:8080
|
||||
reverse_proxy /* http://localhost:3000
|
||||
|
||||
log {
|
||||
output file /var/log/caddy/access.log
|
||||
level WARN
|
||||
}
|
||||
}
|
||||
16
reverse-proxy/Caddyfile.trust-proxy
Normal file
16
reverse-proxy/Caddyfile.trust-proxy
Normal file
@@ -0,0 +1,16 @@
|
||||
:80 {
|
||||
reverse_proxy /api/* http://localhost:8080 {
|
||||
trusted_proxies 0.0.0.0/0
|
||||
}
|
||||
reverse_proxy /.well-known/* http://localhost:8080 {
|
||||
trusted_proxies 0.0.0.0/0
|
||||
}
|
||||
reverse_proxy /* http://localhost:3000 {
|
||||
trusted_proxies 0.0.0.0/0
|
||||
}
|
||||
|
||||
log {
|
||||
output file /var/log/caddy/access.log
|
||||
level WARN
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user