diff --git a/misc/k8s/kustomization/base/resources/myapplication-kube/resources/myapplication-deployment.yaml b/misc/k8s/kustomization/base/resources/myapplication-kube/resources/myapplication-deployment.yaml index e5b0497..bc5a4c7 100644 --- a/misc/k8s/kustomization/base/resources/myapplication-kube/resources/myapplication-deployment.yaml +++ b/misc/k8s/kustomization/base/resources/myapplication-kube/resources/myapplication-deployment.yaml @@ -40,15 +40,15 @@ spec: name: myapplication-nginx args: ["/usr/sbin/nginx"] env: - - name: NGINX_myapplication_UPSTREAM_BACKEND_SERVER + - name: NGINX_APP_UPSTREAM_BACKEND_SERVER value: 127.0.0.1:9000 - - name: NGINX_myapplication_ROOT + - name: NGINX_APP_ROOT value: "/public" - - name: NGINX_myapplication_PHP_INDEX + - name: NGINX_APP_PHP_INDEX value: "/index.php" - name: NGINX_ERROR_LOG_LEVEL value: "warn" - - name: NGINX_myapplication_PHP_NON_FILE_PATTERN + - name: NGINX_APP_PHP_NON_FILE_PATTERN value: "^/index\\.php(/|$)" ports: - containerPort: 8080 diff --git a/misc/k8s/kustomization/overlays/dev/resources/ingress.yaml b/misc/k8s/kustomization/overlays/dev/resources/ingress.yaml index e969878..e13ba47 100644 --- a/misc/k8s/kustomization/overlays/dev/resources/ingress.yaml +++ b/misc/k8s/kustomization/overlays/dev/resources/ingress.yaml @@ -18,4 +18,4 @@ spec: service: name: myapplication port: - number: 8080 + number: 80