First working version

This commit is contained in:
2026-05-21 05:02:40 +00:00
parent 60cdacb9d6
commit f204927482
52 changed files with 3046 additions and 12 deletions
+13
View File
@@ -0,0 +1,13 @@
from granian.utils.proxies import wrap_wsgi_with_proxy_headers
from netbox.wsgi import application
application = wrap_wsgi_with_proxy_headers(
application,
trusted_hosts=[
'10.0.0.0/8',
'172.16.0.0/12',
'192.168.0.0/16',
'fc00::/7',
'fe80::/10',
],
)