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

nixos/syncthing: fix declarative init crash on HTTPS #136122

Merged
merged 1 commit into from
Aug 31, 2021
Merged

nixos/syncthing: fix declarative init crash on HTTPS #136122

merged 1 commit into from
Aug 31, 2021

Conversation

dermetfan
Copy link
Member

@dermetfan dermetfan commented Aug 29, 2021

Motivation for this change

A previous config may be present that has HTTPS for the REST API enabled.

-L is added to follow the redirect to the https:// location.
-k is added to accept Syncthing's self-signed certificate.

This happened to me during migration to declarative config.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Fits CONTRIBUTING.md.

A previous config may be present that has HTTPS for the REST API enabled.
@bjornfor bjornfor merged commit 1dd3bd8 into NixOS:master Aug 31, 2021
@dermetfan dermetfan deleted the syncthing-https branch August 31, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants