Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

📬 docs: Add Forwarded Headers to Nginx SSL Proxy Template (#12379)

Christopher Bennell3f805d68a1b9
diff --git a/client/nginx.conf b/client/nginx.conf
index c91c47a23f..906b3af128 100644
--- a/client/nginx.conf
+++ b/client/nginx.conf
@@ -86,9 +86,15 @@ server {
# location /api {
# proxy_pass http://api:3080/api;
+# proxy_set_header X-Forwarded-Proto $scheme;
+# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+# proxy_set_header Host $host;
# }
# location / {
# proxy_pass http://api:3080;
+# proxy_set_header X-Forwarded-Proto $scheme;
+# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+# proxy_set_header Host $host;
# }
#}