auxiliary infrastructure [PXE, netbox, ubnt controller]. probably on a pi or something
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
463 B

  1. server {
  2. listen 80;
  3. server_name {{netbox_host}};
  4. client_max_body_size 25m;
  5. location /static/ {
  6. alias /opt/netbox/netbox/static/;
  7. }
  8. location / {
  9. proxy_pass http://127.0.0.1:8001;
  10. proxy_set_header X-Forwarded-Host $server_name;
  11. proxy_set_header X-Real-IP $remote_addr;
  12. proxy_set_header X-Forwarded-Proto $scheme;
  13. add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';
  14. }
  15. }