Skip to content

Commit 0f63fe0

Browse files
pwizlaweb-flow
andauthored
Add reverse proxy note to Admin host/port/path documentation (#2838)
* docs(backend): correct TypeScript code fences in TS tabs (controllers, services, middlewares, routes) * docs(bundlers): clarify webpack config example rename and JS/TS filenames * docs(routes): add guidance to prefer fully-qualified handler names in custom routers * docs(api-tokens): add concise security tip (least privilege, rotation, secrets manager) * docs(controllers): add caution about validateQuery/sanitizeQuery/sanitizeOutput when overriding actions * docs(policies): clarify scoped policy folders and fix example path * docs(webhooks): add signature verification tip and fix TS config path * docs(theme-extension): add minimal TS example for theme.light and theme.dark overrides * docs(wysiwyg): add next steps tip (plugin first, custom field for deeper integration) * docs(middlewares): add tip to list registered middlewares (discovery command) * docs(models): add TL;DR with emphasis on content shape and Document Service * docs(locales-translations): fix typo and use proper js/ts fences instead of jsx * docs(logos): add TL;DR and guidance (SVG preferred, light/dark variants) * docs(admin host/port): add reverse proxy deployment tip (forwarded headers, explicit origin) * Limit PR scope based on title; keep only intended doc(s); revert unrelated files --------- Co-authored-by: GitHub Actions <[email protected]>
1 parent 567abe9 commit 0f63fe0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docusaurus/docs/cms/admin-panel-customization/host-port-path.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,7 @@ export default ({ env }) => ({
9595
:::strapi Other admin panel configurations
9696
The `/config/admin.[ts|js]` file can be used to configure many other aspects. Please refer to the [admin panel configuration](/cms/configurations/admin-panel) documentation for details.
9797
:::
98+
99+
:::tip Behind a reverse proxy
100+
When serving the admin from a different public origin (domain, host, or port) than the API, set `host`/`port` accordingly and ensure your proxy forwards headers (e.g., `X-Forwarded-*`). If the admin is reachable at a different origin, prefer configuring that origin explicitly.
101+
:::

0 commit comments

Comments
 (0)