From cd5dd02c13cbdb98e682c16184c4692086c12ffc Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 4 Jan 2018 15:23:35 +0000 Subject: testing/netbox: new aport IP address management (IPAM) and data center infrastructure management (DCIM) tool --- testing/netbox/netbox.nginx-sample | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testing/netbox/netbox.nginx-sample (limited to 'testing/netbox/netbox.nginx-sample') diff --git a/testing/netbox/netbox.nginx-sample b/testing/netbox/netbox.nginx-sample new file mode 100644 index 0000000000..37c2a943ba --- /dev/null +++ b/testing/netbox/netbox.nginx-sample @@ -0,0 +1,20 @@ +server { + listen 80; + + server_name netbox.mydomain; + + client_max_body_size 25m; + + location /static/ { + alias /usr/share/webapps/netbox/static/; + } + + location / { + proxy_pass http://127.0.0.1:8001; + proxy_set_header X-Forwarded-Host $server_name; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"'; + } +} + -- cgit v1.2.3