mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-23 08:23:00 +08:00
25 lines
No EOL
620 B
Caddyfile
25 lines
No EOL
620 B
Caddyfile
:80
|
|
|
|
reverse_proxy 0.0.0.0:8000
|
|
|
|
#
|
|
# Use following config if with custom domain
|
|
#
|
|
# felicity.com:443 {
|
|
# reverse_proxy 0.0.0.0:8000 {
|
|
# header_up Host {http.request.host}
|
|
# header_up X-Real-IP {http.request.remote}
|
|
# header_up X-Forwarded-For {http.request.remote}
|
|
# header_up X-Forwarded-Port {http.request.port}
|
|
# header_up X-Forwarded-Proto {http.request.scheme}
|
|
# }
|
|
# tls user@felicity.com
|
|
# log {
|
|
# output file /var/log/caddy/access.log {
|
|
# roll_size 1mb
|
|
# roll_keep 4
|
|
# roll_keep_for 24h
|
|
# }
|
|
# }
|
|
#
|
|
# } |