Is this still valid? CADDY_GLOBAL_OPTIONS="servers { enable_full_duplex }" #1088
-
I'm trying to set protocols h2c via an environment variable. On https://frankenphp.dev/docs/config/#full-duplex-http1 it looked like I found my solution so I could do this. CADDY_GLOBAL_OPTIONS="servers { protocols h2c }" This resulted in an error, so I tried the original from the docs to just see if it works and got the same error. CADDY_GLOBAL_OPTIONS="servers { enable_full_duplex }"
Are the docs correct? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
full duplex only applies to http 1.1, not http2. As for your error, that issue is indeed correct: you need to have line endings in there. |
Beta Was this translation helpful? Give feedback.
-
Ok, so the docs are wrong. I don't care about full duplex, I just tried that since that's what the docs had, so I thought it should work. |
Beta Was this translation helpful? Give feedback.
full duplex only applies to http 1.1, not http2.
As for your error, that issue is indeed correct: you need to have line endings in there.