From 98c42d33d42dbc4c5ada18f8f0932c4a2d170bbe Mon Sep 17 00:00:00 2001 From: MiloCubed <135522693+MiloCubed@users.noreply.github.com> Date: Tue, 4 Jul 2023 22:11:25 +0800 Subject: [PATCH 1/3] [docs] Add note PROTOCOL config case-sensitive --- docs/content/administration/config-cheat-sheet.en-us.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/administration/config-cheat-sheet.en-us.md b/docs/content/administration/config-cheat-sheet.en-us.md index ed03bedadbd12..42f0a989dec79 100644 --- a/docs/content/administration/config-cheat-sheet.en-us.md +++ b/docs/content/administration/config-cheat-sheet.en-us.md @@ -281,6 +281,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a - `APP_DATA_PATH`: **_`AppWorkPath`_/data**: This is the default root path for storing data. - `PROTOCOL`: **http**: \[http, https, fcgi, http+unix, fcgi+unix\] + - Note: Value is case-sensitive (must be in lowercase). For example, if you write `PROTOCOL=HTTPS`, you may get a SSL_ERROR_RX_RECORD_TOO_LONG error on Firefox or ERR_SSL_PROTOCOL_ERROR on Chrome and Edge. - `USE_PROXY_PROTOCOL`: **false**: Expect PROXY protocol headers on connections - `PROXY_PROTOCOL_TLS_BRIDGING`: **false**: When protocol is https, expect PROXY protocol headers after TLS negotiation. - `PROXY_PROTOCOL_HEADER_TIMEOUT`: **5s**: Timeout to wait for PROXY protocol header (set to 0 to have no timeout) From 979fe3ee131e637389d4793c9643d7d34f8e4488 Mon Sep 17 00:00:00 2001 From: MiloCubed <135522693+MiloCubed@users.noreply.github.com> Date: Wed, 5 Jul 2023 11:23:05 +0800 Subject: [PATCH 2/3] remove example HTTPS error --- docs/content/administration/config-cheat-sheet.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/administration/config-cheat-sheet.en-us.md b/docs/content/administration/config-cheat-sheet.en-us.md index 42f0a989dec79..617715fbaa12e 100644 --- a/docs/content/administration/config-cheat-sheet.en-us.md +++ b/docs/content/administration/config-cheat-sheet.en-us.md @@ -281,7 +281,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a - `APP_DATA_PATH`: **_`AppWorkPath`_/data**: This is the default root path for storing data. - `PROTOCOL`: **http**: \[http, https, fcgi, http+unix, fcgi+unix\] - - Note: Value is case-sensitive (must be in lowercase). For example, if you write `PROTOCOL=HTTPS`, you may get a SSL_ERROR_RX_RECORD_TOO_LONG error on Firefox or ERR_SSL_PROTOCOL_ERROR on Chrome and Edge. + - Note: Value must be lowercase. - `USE_PROXY_PROTOCOL`: **false**: Expect PROXY protocol headers on connections - `PROXY_PROTOCOL_TLS_BRIDGING`: **false**: When protocol is https, expect PROXY protocol headers after TLS negotiation. - `PROXY_PROTOCOL_HEADER_TIMEOUT`: **5s**: Timeout to wait for PROXY protocol header (set to 0 to have no timeout) From 7bbb0e098278fbb17f260e7e37fd028fc47bf771 Mon Sep 17 00:00:00 2001 From: MiloCubed <135522693+MiloCubed@users.noreply.github.com> Date: Wed, 5 Jul 2023 16:11:43 +0800 Subject: [PATCH 3/3] Update custom/conf/app.example.ini --- custom/conf/app.example.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 8cd5e6c144fad..2209822ff0869 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -60,6 +60,7 @@ RUN_USER = ; git ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; The protocol the server listens on. One of 'http', 'https', 'http+unix', 'fcgi' or 'fcgi+unix'. Defaults to 'http' +;; Note: Value must be lowercase. ;PROTOCOL = http ;; ;; Expect PROXY protocol headers on connections