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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Customizing static Cloudron pages

    Feature Requests
    branding custom pages
    3
    8
    366
    Loading More Posts
    • 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.
    • andreasdueren
      andreasdueren last edited by girish

      I would like to be able to customize the pages that cloudron show when I take an app offline (for example add a maintenance message – by the way, is a 503 http status code being sent here?), an app doesnt exist etc.

      rmdes 1 Reply Last reply Reply Quote 1
      • rmdes
        rmdes @andreasdueren last edited by

        You might want to have a look in here e1aa393c-c2da-4768-b4d5-4cc5e0fd4ac5-image.png

        open the default.conf
        f9ac2acb-9d21-41ef-ac79-1c0a6d02940a-image.png

        each conf file use the same 404 error rewriting from cloudron, so the notfound.html is your file but be aware that this file can change when cloudron upgrade, I'm not sure there is a better way than this without altering nginx conf files manually.

        andreasdueren 1 Reply Last reply Reply Quote 3
        • andreasdueren
          andreasdueren @rmdes last edited by

          @rmdes Thanks I'll check this out in the meantime!

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @andreasdueren last edited by

            @andreasdueren See https://docs.cloudron.io/branding/#custom-pages to keep things persistent.

            andreasdueren 2 Replies Last reply Reply Quote 4
            • andreasdueren
              andreasdueren @girish last edited by

              @girish Thanks, didnt think to look in the documentation.

              1 Reply Last reply Reply Quote 1
              • andreasdueren
                andreasdueren @girish last edited by

                @girish said in Customizing static Cloudron pages:

                @andreasdueren See https://docs.cloudron.io/branding/#custom-pages to keep things persistent.

                What about serving these sites via a surfer instance?

                girish 1 Reply Last reply Reply Quote 2
                • girish
                  girish Staff @andreasdueren last edited by

                  @andreasdueren Are you thinking of having a redirect to another surfer instance on a 404 or 503 ?

                  andreasdueren 1 Reply Last reply Reply Quote 0
                  • andreasdueren
                    andreasdueren @girish last edited by

                    @girish No I actually meant instead of storing those files in the box folder, moving them into a standartly installed surfer instance on the same server where one can easily update/modify them etc. without the fear of having them replaced on an update

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB