Created
November 28, 2017 04:59
-
-
Save martincalvert/349cd940c8e88a20da96936ebeaa6dc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: {{ .Values.app.name }}-nginx-config | |
labels: | |
chart: {{ .Chart.Name }}-{{ .Chart.Version }} | |
app: matterhorn-{{ .Values.app.name }} | |
tier: nginx | |
data: | |
nginx.conf: |- | |
access_log /dev/stdout; | |
error_log /dev/stderr; | |
upstream mh_{{ .Values.app.name }}_unicorn { | |
server 127.0.0.1:3000 fail_timeout=0; | |
} | |
server { | |
listen 80 default; | |
root /srv/public; | |
} | |
env: integration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment