Skip to content
Snippets Groups Projects
Commit da80e649 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Swagger: show request host/port/scheme/ip

This makes it easier to debug reverse proxy issues/configurations.
parent d49b8519
No related branches found
No related tags found
No related merge requests found
Pipeline #102797 passed
...@@ -124,6 +124,10 @@ ...@@ -124,6 +124,10 @@
<br> Build: <a href="{{ app_buildinfo_url }}">{{ app_buildinfo }}</a> <br> Build: <a href="{{ app_buildinfo_url }}">{{ app_buildinfo }}</a>
<br> Environment: {{ app_env }} <br> Environment: {{ app_env }}
<br> Debug: {% if app_debug %}yes{% else %}no{% endif %} <br> Debug: {% if app_debug %}yes{% else %}no{% endif %}
<br> Host: {{ app.request.getHost() }}
<br> Port: {{ app.request.getPort() }}
<br> Scheme: {{ app.request.getScheme() }}
<br> IP: {{ app.request.getClientIp() }}
</div> </div>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment