diff options
author | 2020-11-21 22:52:46 +0100 | |
---|---|---|
committer | 2020-11-29 10:09:40 +0100 | |
commit | 5ee4dd4bb9e96ae21ac5b37453e3d1d8c674c966 (patch) | |
tree | 395c55714f2647c01e7aeb6d2714c847b24c281a /kubernetes/contrib/components/netbox/charts/netbox-nginx/resources/config | |
parent | fe28feccab5e8c0cd1f2b72b940a0f27a279e5da (diff) |
[CONTRIB] Uses new tpls for repos / images
This commit makes Contrib chart to use the new generator for repositories and
images.
As new templates doesn't work well with "sub charts", we move also
subcharts to components folder.
Issue-ID: OOM-2364
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I33ca36a2b25e67fd9f74ae408cd34f58405d6b80
Diffstat (limited to 'kubernetes/contrib/components/netbox/charts/netbox-nginx/resources/config')
-rwxr-xr-x | kubernetes/contrib/components/netbox/charts/netbox-nginx/resources/config/nginx.conf | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/kubernetes/contrib/components/netbox/charts/netbox-nginx/resources/config/nginx.conf b/kubernetes/contrib/components/netbox/charts/netbox-nginx/resources/config/nginx.conf deleted file mode 100755 index 2ef2aca3a1..0000000000 --- a/kubernetes/contrib/components/netbox/charts/netbox-nginx/resources/config/nginx.conf +++ /dev/null @@ -1,34 +0,0 @@ -worker_processes 1; - -events { - worker_connections 1024; -} - -http { - include /etc/nginx/mime.types; - default_type application/octet-stream; - sendfile on; - tcp_nopush on; - keepalive_timeout 65; - gzip on; - server_tokens off; - client_max_body_size 10M; - - server { - listen {{ .Values.service.internalPort }}; - server_name {{ .Values.service.portName }}; - access_log off; - - location /static/ { - alias /opt/netbox/netbox/static/; - } - - location / { - proxy_pass http://netbox-app:8001; - proxy_set_header X-Forwarded-Host $http_host; - 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"'; - } - } -} |