Subject: | [DOC PATCH] Remind users to set SSLOptions +StdEnvVars if running behind apache and https. |
Patch attached.
Subject: | reverse_proxy_doc.patch |
diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm
index 266ab2b..59ba568 100644
--- a/lib/Catalyst.pm
+++ b/lib/Catalyst.pm
@@ -3404,6 +3404,10 @@ If you are using Lighttpd or IIS6 you may wish to apply these middlewares. In
general this is no longer a common case but we have this here for backward
compatibility.
+If you are running behind apache and ssl, be sure to include C< SSLOptions +StdEnvVars >
+in your apache config otherwise C<< $c->uri_for >> will generate http uri schemes
+rather than https.
+
=cut