4 worker_connections 1024;
8 include /etc/nginx/mime.types;
9 default_type application/octet-stream;
15 client_max_body_size 10M;
18 listen {{ .Values.service.internalPort }};
19 server_name {{ .Values.service.portName }};
23 alias /opt/netbox/netbox/static/;
27 proxy_pass http://netbox-app:8001;
28 proxy_set_header X-Forwarded-Host $http_host;
29 proxy_set_header X-Real-IP $remote_addr;
30 proxy_set_header X-Forwarded-Proto $scheme;
31 add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';