configure caddy behind proxy #378
Replies: 2 comments
-
Are you intending to have 2 HTTP servers in front of the container? I cant help you with that. I provide an example of implementing PLA behind a proxy in the wiki. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, thank you for your answer. I finally managed to force header adding "requestheader" in apache's host config file, it looks ok now :-)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
We're trying to upgrade our PLA to v2 dockerized version. We are using in front web, proxy servers who presents ssl certificates, all our websites behind communicate through proxys (internal) with http.
When webapp can autodetect it's url, it returns "http://" instead of "https://", then we add SetEnv HTTPS "on" into apache's virtualhost configuration file (eg. Wordpress, Simpltext...)
My docker's image PLA is dropped on a webserver behind our proxy, configured as a proxy too.
---> <443:HAPROXY HTTP:80> -----> [<80:VIRTUAL WEBSERVER:81HTTP>----><81:PLA CONTAINER>]
If I use PLA's docker image, I can't configure (I don't know how..) Caddy to "SetEn HTTP ON" like I do with Apache.
I installed PLA 2.3 on a deb12 image with "install from source code", with apache, it runs fine but I'd like to use ready to run image.
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions