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. Ghost
  3. Installing Ghost Into a Sub-directory

Installing Ghost Into a Sub-directory

Scheduled Pinned Locked Moved Ghost
5 Posts 3 Posters 1.0k Views 3 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.
  • Dave SwiftD Offline
    Dave SwiftD Offline
    Dave Swift
    wrote on last edited by
    #1

    I'd like to be able to use a reverse proxy to run Ghost in a folder of a site.

    Something like mydomain.com/blog would be ghost, but mydomain.com could be WordPress (or whatever else you'd like).

    I have accomplished already for clients using Cloudflare workers, but it would be wonderful do it right on the server.

    Does anyone know if this is possible on Cloudron? An easy way to do this in the GUI would be amazing.

    1 Reply Last reply
    1
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      LAMP App is the only user controlled rProxy via Apache2.
      The rest flows from there.

      Otherwise you'd need to package a new custom WP+Ghost app with that config which would then live on the read-only filesystem.

      Conscious tech

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

        Right, we don't support installations in a sub path.

        Would @robi 's approach work? Given an installation of Ghost at blog.example.com and WP already installed at example.com , will some apache config (via /app/data/public/.htaccess) forwarding requests from /blog into blog.example.com work ?

        1 Reply Last reply
        0
        • Dave SwiftD Offline
          Dave SwiftD Offline
          Dave Swift
          wrote on last edited by
          #4

          Yeah @robi & @grish that would likely work but I haven't tried yet.

          If anyone has experience here, please chime in!

          1 Reply Last reply
          0
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #5

            The simpler approach and what @girish is suggesting is to keep a separate install of WP and Ghost in 2 different apps and join them via the rev proxy config from one of them to keep the desired (sub)domain.

            Another option is the embeded iframe from the /blog page that pulls in the other URL.

            Let us know what you come up with as a final solution 😄

            Conscious tech

            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