Cleanup of unused vars and treafik forwarding #20

Open
ineiti wants to merge 1 commits from cleanup into main
Owner

CryptPad never reads CPAD_HTTP2_DISABLE or CPAD_TRUST_PROXY, so remove
them (and the misleading comment) from compose.yml.

nginx used to overwrite X-Forwarded-Proto with its own $scheme (http) and
X-Real-IP with Traefik's container IP. Pass through the values Traefik
sets, falling back to nginx's own when absent, and add X-Forwarded-Host.

Bump NGINX_CONF_VERSION to v4.

Following the C4DT AI Policy:

#LLM_vibe
#LLM_model Claude Opus 5.5

  • I take full responsibility for this code
  • I understand every line of this code
  • I tested this code thoroughly on my own computer / servers
  • None of the commit messages were created using LLMs
  • I will participate in any discussion on my own and will not use an LLM for the discussion
CryptPad never reads CPAD_HTTP2_DISABLE or CPAD_TRUST_PROXY, so remove them (and the misleading comment) from compose.yml. nginx used to overwrite X-Forwarded-Proto with its own $scheme (http) and X-Real-IP with Traefik's container IP. Pass through the values Traefik sets, falling back to nginx's own when absent, and add X-Forwarded-Host. Bump NGINX_CONF_VERSION to v4. Following the [C4DT AI Policy](https://git.coopcloud.tech/c4dt/ai-policy/src/branch/main/AI-POLICY.md): #LLM_vibe #LLM_model Claude Opus 5.5 - [x] I take full responsibility for this code - [x] I understand every line of this code - [x] I tested this code thoroughly on my own computer / servers - [x] None of the commit messages were created using LLMs - [x] I will participate in any discussion on my own and will not use an LLM for the discussion
ineiti changed title from Cleanup of unused vars and treafike forwarding to Cleanup of unused vars and treafik forwarding 2026-11-25 16:04:18 +00:00
ineiti added 1 commit 2026-12-01 09:53:42 +00:00
CryptPad never reads CPAD_HTTP2_DISABLE or CPAD_TRUST_PROXY, so remove
them (and the misleading comment) from compose.yml.

nginx used to overwrite X-Forwarded-Proto with its own $scheme (http) and
X-Real-IP with Traefik's container IP. Pass through the values Traefik
sets, falling back to nginx's own when absent, and add X-Forwarded-Host.

Bump NGINX_CONF_VERSION to v4.
ineiti force-pushed cleanup from a999ba1c4c to 565e8c0f97 2026-12-01 09:53:42 +00:00 Compare
ineiti requested review from Ghost 2026-12-01 09:54:00 +00:00
ineiti self-assigned this 2026-12-01 09:54:06 +00:00
Author
Owner

If we merge this, then we can do a major release, like @notplants proposed here: #19 (comment)

If we merge this, then we can do a major release, like @notplants proposed here: https://git.coopcloud.tech/coop-cloud/cryptpad/pulls/19#issuecomment-48441
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin cleanup:cleanup
git checkout cleanup
Sign in to join this conversation.