Is there any ways to use stash host name within stash-conflig.properties?
For example:
my.config.property=${stash.host.name}/blablabla
No, it's not. You should always be using the current request for determining the hostname, or the base url if you are not in a request.
Why do you want to do this?
Some non standard using of Avatars in our company. I setup local nginx cache, what will proxy avatar throught itself and delegate to internal avatar http service, or to Gravatar with hiden Referer header.
But you are right, we must simple setup something more right, what this temporary solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.