Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7.1 #880

Merged
merged 32 commits into from
Aug 7, 2024
Merged

1.7.1 #880

merged 32 commits into from
Aug 7, 2024

Conversation

pieroit
Copy link
Member

@pieroit pieroit commented Aug 7, 2024

New in 1.7.1

kodaline and others added 30 commits July 24, 2024 11:13
- In compose/env file, set `CCAT_CORE_USE_SECURE_PROTOCOLS=0`
issue: `get_base_url()` will return `http0://...`

This commit rewrites the condition in order to get the expected
behavior:
- `CCAT_CORE_USE_SECURE_PROTOCOLS=1 | true` will give `https://...`
- everything else will give `http://...`
- setup the cat with an https nginx proxy
- when using `/rabbithole` endopint, or any endopint that makes a
  redirect, fastapi/uvicorn will downgrade the connection to `http`
  because of the missing uvicorn server flags
- in case the original connection is https this will trigger the
  following error:

  ```
  Mixed Content The page at was loaded over HTTPS but requested an insecure resource
  This request has been blocked the content must be served over HTTPS
  ```

- add new environment variable `CCAT_HTTPS_PROXY_MODE` in order to add
  the required flags when needed

fastapi/fastapi#9328 (comment)
with this fix it is now possible to update the password of an user.
Admin user is still not editable, so also the password cannot be
changed.
add: new env variables to manage https proxy pass
@pieroit pieroit merged commit f14f2c0 into main Aug 7, 2024
4 checks passed
derogab added a commit to derogab/umbrel-app-store that referenced this pull request Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants