Fixed bugs with too many brackets

This commit is contained in:
2023-03-23 09:11:41 +01:00
parent 33d5ae52b3
commit 3b02fdd661
3 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "0.5.3" HELM_CHART_VERSION: "0.5.4"
stages: stages:
- deploy - deploy

View File

@@ -2,5 +2,5 @@ apiVersion: v2
name: cloudypress name: cloudypress
description: A helm chart for deploying Wordpress on Cloudyne Hosting description: A helm chart for deploying Wordpress on Cloudyne Hosting
type: application type: application
version: "0.5.2" version: "0.5.4"
appVersion: "6.1.1" appVersion: "6.1.1"

View File

@@ -100,7 +100,7 @@ data:
{{- end }} {{- end }}
events { events {
{{- if and .Values.global .Values.global.nginx }}} {{- if and .Values.global .Values.global.nginx }}
worker_connections {{ .Values.global.nginx.workerConnections | default "1024" }}; worker_connections {{ .Values.global.nginx.workerConnections | default "1024" }};
{{ .Values.global.nginx.eventsAdditions | default "" }} {{ .Values.global.nginx.eventsAdditions | default "" }}
{{- else }} {{- else }}
@@ -121,7 +121,7 @@ data:
access_log /dev/stdout main_timed; access_log /dev/stdout main_timed;
error_log /dev/stderr notice; error_log /dev/stderr notice;
{{- if and .Values.global .Values.global.nginx }}} {{- if and .Values.global .Values.global.nginx }}
keepalive_timeout {{ .Values.global.nginx.keepaliveTimeout | default "61" }}; keepalive_timeout {{ .Values.global.nginx.keepaliveTimeout | default "61" }};
{{- else }} {{- else }}
keepalive_timeout 61; keepalive_timeout 61;
@@ -138,7 +138,7 @@ data:
listen [::]:8080 default_server; listen [::]:8080 default_server;
listen 8080 default_server; listen 8080 default_server;
server_name _; server_name _;
{{- if and .Values.global .Values.global.nginx }}} {{- if and .Values.global .Values.global.nginx }}
sendfile {{ .Values.global.nginx.sendfile | default "off" }}; sendfile {{ .Values.global.nginx.sendfile | default "off" }};
tcp_nodelay {{ .Values.global.nginx.tcpNodelay | default "on" }}; tcp_nodelay {{ .Values.global.nginx.tcpNodelay | default "on" }};
absolute_redirect {{ .Values.global.nginx.absoluteRedirects | default "off" }}; absolute_redirect {{ .Values.global.nginx.absoluteRedirects | default "off" }};
@@ -148,7 +148,7 @@ data:
absolute_redirect off; absolute_redirect off;
{{- end }} {{- end }}
{{- if and .Values.site .Values.site.webroot }}} {{- if and .Values.site .Values.site.webroot }}
root {{ .Values.site.webroot.path | default "/app/web" }}; root {{ .Values.site.webroot.path | default "/app/web" }};
index {{ .Values.site.webroot.indexes | default "index.php index.html index.htm" }}; index {{ .Values.site.webroot.indexes | default "index.php index.html index.htm" }};
{{- else }} {{- else }}
@@ -159,7 +159,7 @@ data:
location / { location / {
try_files $uri $uri/ /index.php?q=$uri&$args; try_files $uri $uri/ /index.php?q=$uri&$args;
{{- if and .Values.global .Values.global.nginx }}} {{- if and .Values.global .Values.global.nginx }}
{{ .Values.global.nginx.rootLocationAdditions | default "" }} {{ .Values.global.nginx.rootLocationAdditions | default "" }}
{{- end }} {{- end }}
@@ -179,7 +179,7 @@ data:
} }
location ~ \.php$ { location ~ \.php$ {
{{- if and .Values.global .Values.global.nginx }}} {{- if and .Values.global .Values.global.nginx }}
fastcgi_buffer_size {{ .Values.global.nginx.fcgiBufferSize | default "128k" }}; fastcgi_buffer_size {{ .Values.global.nginx.fcgiBufferSize | default "128k" }};
fastcgi_buffers {{ .Values.global.nginx.fcgiBuffers | default "4 256k" }}; fastcgi_buffers {{ .Values.global.nginx.fcgiBuffers | default "4 256k" }};
fastcgi_busy_buffers_size {{ .Values.global.nginx.fcgiBusyBufferSize | default "256k" }}; fastcgi_busy_buffers_size {{ .Values.global.nginx.fcgiBusyBufferSize | default "256k" }};
@@ -196,7 +196,7 @@ data:
fastcgi_pass 127.0.0.1:8123; fastcgi_pass 127.0.0.1:8123;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
{{- if and .Values.global .Values.global.nginx }}} {{- if and .Values.global .Values.global.nginx }}
{{ .Values.global.nginx.phpLocationAdditions | default "" }} {{ .Values.global.nginx.phpLocationAdditions | default "" }}
{{- end }} {{- end }}
} }
@@ -245,7 +245,7 @@ data:
include fastcgi_params; include fastcgi_params;
fastcgi_pass 127.0.0.1:8123; fastcgi_pass 127.0.0.1:8123;
} }
{{- if and .Values.global .Values.global.nginx }}} {{- if and .Values.global .Values.global.nginx }}
{{ .Values.global.nginx.serverAdditions | default "" }} {{ .Values.global.nginx.serverAdditions | default "" }}
{{- end }} {{- end }}
@@ -258,7 +258,7 @@ data:
add_header X-Content-Type-Options nosniff; add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options SAMEORIGIN; add_header X-Frame-Options SAMEORIGIN;
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
{{- if and .Values.global .Values.global.nginx }}} {{- if and .Values.global .Values.global.nginx }}
{{ .Values.global.nginx.httpAdditions }} {{ .Values.global.nginx.httpAdditions }}
{{- end }} {{- end }}