Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ http {
listen 8080;
server_name _;

# Emit relative Location headers (e.g. /docs -> /docs/) so the internal
# :8080 listen port never leaks into redirects behind the reverse proxy.
absolute_redirect off;

root /app/public;
# index.html lets the pre-generated static Scribe docs resolve: /docs ->
# /docs/ -> public/docs/index.html (assets are served by try_files below).
Expand Down
Loading