Is it currently possible to run an advanced install on the cloud?
Ideally, I'd like to move the /core/ folder outside of the /www/ web root folder for added security on a particular site; does anyone know if this is this currently possible, or likely to be possible on the Cloud platform?
MODX Ambassador for Thailand. Managing Director at
Monogon, a web design and development studio based in Bangkok, Thailand. -
Follow me on Twitter.
-
- 255 Posts
I've had no luck here and I don't think it's supported *yet*. I also had issues injecting a vapor snapshot from an advanced install into the cloud. So beware of that. I had to do it the old fashioned way. Hopefully advanced installs will be an option in the not-so-distant future.
-
- 175 Posts
Knowing the guys at MODX, they are probably already working on ways to have the default install put core somewhere else, because security-wise, it is considered best practice (or so I believe without being any kind of expert).
Regards,
Tom
It is not supported currently. This is a limitation that, for me at this moment, I cannot in good conscience utilize the production accounts. I have heard from Jay Gilmore that advanced installs for the cloud IS on their radar. Haven't heard a timeline yet though.
-
- 24,544 Posts
I think it's possible to do the stuff you want by manually moving and renaming directories and editing the config file and the config.core.php files. I could be wrong.
-
- 38 Posts
I think doing it manually, breaks as soon as you try to snapshot that Cloud and inject it somewhere. I could be wrong, too.
As for moving /core/ outside of webroot:
I thought, there was a global nginx rule, that makes everything inside that directory inaccessible from the web.
So why move it, if it's hidden allready?
-
- 24,544 Posts
Good question. I hadn't heard about the global rule. That would be great.
-
- 38 Posts
@tillilab
I would think, you just run vapor on that advanced install – as long as the core is in the MODX root directory.
If it's not, you'll have to move it and change the config files to point to the new location.