2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-14 02:53:08 +00:00

Fix for buggy Caddyfile (#8830) (#8832)

(cherry picked from commit decccf8163102137a4b2074e27933e9068c5db9c)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot] 2025-01-05 22:33:22 +11:00 committed by GitHub
parent d42e3087a8
commit 91c095a011
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,9 +71,7 @@
reverse_proxy {$INVENTREE_SERVER:"http://inventree-server:8000"} { reverse_proxy {$INVENTREE_SERVER:"http://inventree-server:8000"} {
# If you are running behind another proxy, you may need to specify 'trusted_proxies' # If you are running behind another proxy, you may need to specify 'trusted_proxies'
trusted_proxies { # Ref: https://caddyserver.com/docs/json/apps/http/servers/trusted_proxies/
# enter your trusted proxy IP addresses here # trusted_proxies ...
}
} }
} }