Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Customize well-known

Customize well-known

Scheduled Pinned Locked Moved Solved Support
well-known
17 Posts 5 Posters 2.3k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • potemkin_aiP Offline
      potemkin_aiP Offline
      potemkin_ai
      wrote on last edited by girish
      #1

      Is there any way to customize well-known?

      I'm looking for a way to expand matrix settings to pickup my jitsi server (https://github.com/vector-im/element-web/blob/develop/docs/jitsi.md#configuring-element-to-use-your-self-hosted-jitsi-server), but I understand I might have other demands with the time.

      Could you please, help me to understand how do I do that properly?

      1 Reply Last reply
      0
      • potemkin_aiP Offline
        potemkin_aiP Offline
        potemkin_ai
        wrote on last edited by
        #2

        Anyone? 😃 @girish ? 😃

        murgeroM 1 Reply Last reply
        0
        • potemkin_aiP potemkin_ai

          Anyone? 😃 @girish ? 😃

          murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by
          #3

          @potemkin_ai I think on the host server you can just modify the file manually?

          --
          https://urgero.org
          ~ Professional Nerd. Freelance Programmer. ~

          potemkin_aiP 1 Reply Last reply
          0
          • murgeroM murgero

            @potemkin_ai I think on the host server you can just modify the file manually?

            potemkin_aiP Offline
            potemkin_aiP Offline
            potemkin_ai
            wrote on last edited by
            #4

            @murgero do you mean nginx config? If so, I would expect it to be easily overwritten by Cloudron at some point, for example, when I specify some things from UI, or am I missing somehting?

            murgeroM 2 Replies Last reply
            0
            • potemkin_aiP potemkin_ai

              @murgero do you mean nginx config? If so, I would expect it to be easily overwritten by Cloudron at some point, for example, when I specify some things from UI, or am I missing somehting?

              murgeroM Offline
              murgeroM Offline
              murgero
              App Dev
              wrote on last edited by
              #5

              @potemkin_ai No I forget the exact path, but in the yellowtent home folder I believe you can manually change the well-known file

              --
              https://urgero.org
              ~ Professional Nerd. Freelance Programmer. ~

              1 Reply Last reply
              0
              • potemkin_aiP potemkin_ai

                @murgero do you mean nginx config? If so, I would expect it to be easily overwritten by Cloudron at some point, for example, when I specify some things from UI, or am I missing somehting?

                murgeroM Offline
                murgeroM Offline
                murgero
                App Dev
                wrote on last edited by
                #6

                @potemkin_ai I'm being silly - Jitsi is already in the UI for well-known config

                https://docs.cloudron.io/domains/#well-known-locations

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~

                potemkin_aiP 1 Reply Last reply
                1
                • murgeroM murgero

                  @potemkin_ai I'm being silly - Jitsi is already in the UI for well-known config

                  https://docs.cloudron.io/domains/#well-known-locations

                  potemkin_aiP Offline
                  potemkin_aiP Offline
                  potemkin_ai
                  wrote on last edited by
                  #7

                  @murgero thanks! And yes, I'm aware of that nice web config 🙂

                  Once I found it I started immediately to think about what other fields I might need to add at well-known and be sure it won't be overwritten.

                  I guess some kind of custom entry record UI at Cloudron would be very nice there!

                  girishG 1 Reply Last reply
                  1
                  • potemkin_aiP potemkin_ai

                    @murgero thanks! And yes, I'm aware of that nice web config 🙂

                    Once I found it I started immediately to think about what other fields I might need to add at well-known and be sure it won't be overwritten.

                    I guess some kind of custom entry record UI at Cloudron would be very nice there!

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @potemkin_ai said in Customize well-known:

                    I guess some kind of custom entry record UI at Cloudron would be very nice there!

                    These locations are known in advance / codified in RFCs and standards. So, while possible to have flexibility here , in most cases I think people just want an input box for enter some value. Are we missing some more well known entries here? Happy to add them to the UI.

                    potemkin_aiP 1 Reply Last reply
                    1
                    • girishG girish

                      @potemkin_ai said in Customize well-known:

                      I guess some kind of custom entry record UI at Cloudron would be very nice there!

                      These locations are known in advance / codified in RFCs and standards. So, while possible to have flexibility here , in most cases I think people just want an input box for enter some value. Are we missing some more well known entries here? Happy to add them to the UI.

                      potemkin_aiP Offline
                      potemkin_aiP Offline
                      potemkin_ai
                      wrote on last edited by
                      #9

                      @girish thank you!
                      Are they all described in the RFC? Couldn't it be some special app expecting some special values in there?

                      girishG 1 Reply Last reply
                      0
                      • potemkin_aiP potemkin_ai

                        @girish thank you!
                        Are they all described in the RFC? Couldn't it be some special app expecting some special values in there?

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #10

                        @potemkin_ai that's my understanding. they are usually in specifications and not arbitrary.

                        potemkin_aiP 1 Reply Last reply
                        0
                        • girishG girish marked this topic as a question on
                        • girishG girish has marked this topic as solved on
                        • girishG girish

                          @potemkin_ai that's my understanding. they are usually in specifications and not arbitrary.

                          potemkin_aiP Offline
                          potemkin_aiP Offline
                          potemkin_ai
                          wrote on last edited by
                          #11

                          @girish I believe I've seen this in some apps, including NextCloud at some release.

                          But let me just return back with some facts in my hands when/if I get something.

                          1 Reply Last reply
                          0
                          • potemkin_aiP Offline
                            potemkin_aiP Offline
                            potemkin_ai
                            wrote on last edited by
                            #12

                            @girish , I've got one: https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md

                            Is there any way you can offer custom strings in the well-known file?

                            girishG 1 Reply Last reply
                            1
                            • potemkin_aiP potemkin_ai

                              @girish , I've got one: https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md

                              Is there any way you can offer custom strings in the well-known file?

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #13

                              @potemkin_ai good find! Kinda bizzare why these settings are being put in well-known . Do you know the rationale? Why is this not in synapse's configuration ?

                              Regardless, we don't have a way to raw edit the well-known config (even though it's stored like that in the database). I guess we have to expose the raw well-known config ?

                              1 Reply Last reply
                              0
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #14

                                I am thinking that maybe we should move the well-known config to the apps UI (away from Domains). The main disadvantage of this is that if you uninstall the app, the setting goes away. The advantage is that it makes people realize that an app is required at the bare domain to serve the well-known config.

                                1 Reply Last reply
                                1
                                • potemkin_aiP Offline
                                  potemkin_aiP Offline
                                  potemkin_ai
                                  wrote on last edited by
                                  #15

                                  @girish , thank you!

                                  I don't know to be honest... I would rather put it in the client<->server protocol as well, especially since it's not something I would like to expose to everyone. Guess it's because of the mixed model Element took - they are targeting at wide communities as well as closed groups, which is kind of hard to mix.

                                  Anyway, from what I remember (and I might be wrong) I've seen something at NextCloud as well, so placing it at the app level feels right.
                                  The only reason why I would consider placing in a general location - it's to ease implementation, as it doesn't seem to be a very often used feature. And for it to work, I'm perfectly fine to go the console or whenever, just to make it work.

                                  No harm - just a bit of trash - if it will remain after the app removed either.

                                  1 Reply Last reply
                                  0
                                  • rmdesR Offline
                                    rmdesR Offline
                                    rmdes
                                    wrote on last edited by
                                    #16

                                    Here an example of how it could be interesting to be able to add a custom value
                                    use case, self-verification in Nostr : https://wedistribute.org/2024/05/nostr-nip-05/

                                    1 Reply Last reply
                                    0
                                    • J Offline
                                      J Offline
                                      JLX89
                                      wrote on last edited by
                                      #17

                                      Building on this, this would be a great feature and eliminate a lot of manual work. We typically place a security.txt file in each site, but the ability to just deploy this would be great and configure via the .well-known configuration.

                                      I could be wrong, but could this be done at the "platform" level or would it have to be in each package?

                                      For example, pretty easy in the WordPress Developer Package, where we just create the folder, drop the file, and add a .htaccess redirect for domain.tld/security.txt to domain.tld/.well-known/security.txt.

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Bookmarks
                                        • Search