Skip to content

Commit

Permalink
Add missing endpoint /actuator/info
Browse files Browse the repository at this point in the history
based on work from gridstudy-app
  • Loading branch information
Tristan-WorkGH committed Nov 15, 2023
1 parent 8caba03 commit 243eec3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app-httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.so

DocumentRoot /usr/local/apache2/htdocs/gridXXX/
AddOutputFilterByType INCLUDES text/html
<Directory /usr/local/apache2/htdocs/gridXXX/>
Options +Includes
</Directory>

<Location "/actuator/info">
SetHandler server-info
</Location>
AddModuleInfo mod_info.c 'Hostname: ${HOSTNAME}'

RewriteEngine On
RewriteMap remapbase "prg:/bin/sed -u -e 's;[^ ]* ;;' -e 's;[ ?].*;;' -e 's;[^/]*;..;g' -e 's;../..;;' -e 's/.//' -e 's;^$;.;'"

Expand Down

0 comments on commit 243eec3

Please sign in to comment.