expose icon indicating copy to clipboard operation
expose copied to clipboard

Create advanced.md Client documentation file

Open drbyte opened this issue 5 years ago • 2 comments

Added section on detecting Expose as the active proxy server. This can be useful when taking custom action based on the kind of proxy server being used (such as overriding non-standard routing logic, auto-selecting proxy-specific databases, etc)

Ref: https://github.com/beyondcode/expose/blob/d98eabe36e9c19c42f3b8f44601a2a457cb3af26/app/Server/Http/Controllers/TunnelMessageController.php#L106-L124

drbyte avatar Jun 19 '20 17:06 drbyte

While I haven't studied it fully to be sure, can the client use a project-specific .expose.php file for config overrides, similar to how the Server can? If so, I envision info about that being added to this advanced.md doc as well ... hence creating the new file for this PR instead of combining it into someplace else.

drbyte avatar Jun 19 '20 17:06 drbyte

Yeah, that's right @drbyte. Expose will look in two different locations for the config file:

First in the current working directory as .expose.php and then in ~/.expose/config.php. So yeah, project-specific expose configuration is possible - but yet undocumented.

I'll leave this PR open and would add the changes myself and then add this file to the navigation as well.

mpociot avatar Jun 22 '20 06:06 mpociot