Super happy to be wrong about needing pre-made config!
I previously thought that a configuration was necessary, as I assumed that there was no built-in mode. But very happy to be wrong that it can absolutely be ran to serve static content without making your own nginx.conf file!
This commit is contained in:
@@ -34,7 +34,9 @@ services:
|
||||
{{- end}}
|
||||
restart: on-failure
|
||||
volumes:
|
||||
# - /RancherCattle/${DATA_DIR}/Configuration:/etc/nginx
|
||||
{{- if eq .Values.PERSIST_CONF "true"}}
|
||||
- /RancherCattle/${DATA_DIR}/Configuration:/etc/nginx
|
||||
{{- end}}
|
||||
- /RancherCattle/${DATA_DIR}/HTML:/usr/share/nginx/html
|
||||
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user