Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

server status info allow configuration #22

Open
muhammedOzbilici opened this issue Sep 14, 2018 · 1 comment
Open

server status info allow configuration #22

muhammedOzbilici opened this issue Sep 14, 2018 · 1 comment

Comments

@muhammedOzbilici
Copy link

is there anyway to configure to see server status info allow for only localhost ?

@ajenhl
Copy link
Contributor

ajenhl commented Sep 14, 2018

Do you mean that you would like to have that URL accessible only when running Kiln locally via the build script?

If so, in deployed situations, you could restrict access to the URL via configuring the webapp container or whatever might sit in front of that.

Alternately, you could use the Cocoon Host Selector -http://cocoon.apache.org/2.1/userdocs/host-selector.html - to introduce logic into the sitemap so that only when the host is "localhost" is the server status generated, and otherwise some placeholder page is returned, or what have you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants