Files
symfony-flex-recipes-contrib/jmonitor/jmonitor-bundle/1.0/config/routes/jmonitor.yaml
T

12 lines
442 B
YAML

jmonitor_expose_php_metrics:
path: '/jmonitor/php-metrics'
controller: Jmonitor\JmonitorBundle\Controller\JmonitorPhpController
# Secured route in production with localhost host restriction
# Refer to symfony docs for more information about security
when@prod:
jmonitor_expose_php_metrics:
path: '/jmonitor/php-metrics'
controller: Jmonitor\JmonitorBundle\Controller\JmonitorPhpController
host: localhost