fix: gitea always uses nginx proxy for iframe compatibility
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -51,7 +51,9 @@ export const APP_PORTS: Record<string, number> = {
|
|||||||
/** Apps that need nginx proxy for iframe embedding.
|
/** Apps that need nginx proxy for iframe embedding.
|
||||||
* IndeedHub loads via /app/indeedhub/ proxy for nostr-provider.js injection
|
* IndeedHub loads via /app/indeedhub/ proxy for nostr-provider.js injection
|
||||||
* from the container's internal nginx so iframe works on all servers. */
|
* from the container's internal nginx so iframe works on all servers. */
|
||||||
export const PROXY_APPS: Record<string, string> = {}
|
export const PROXY_APPS: Record<string, string> = {
|
||||||
|
'gitea': '/app/gitea/',
|
||||||
|
}
|
||||||
|
|
||||||
/** Nginx proxy paths -- used on HTTPS to avoid mixed content (HTTPS parent + HTTP port iframe).
|
/** Nginx proxy paths -- used on HTTPS to avoid mixed content (HTTPS parent + HTTP port iframe).
|
||||||
* On HTTP, direct port access is used instead (faster, no proxy). */
|
* On HTTP, direct port access is used instead (faster, no proxy). */
|
||||||
|
|||||||
Reference in New Issue
Block a user