This joomla 4.3.0 is in docker.
Joomla in docker is nginx with php-fpm, running on port 80, translating to port 8080 and listening.
In addition, nginx on the host uses a reverse proxy to connect from SSL to docker's 8080 port.
Joomla Media Gallery does not work properly in this environment.
Joomla Media Gallery should function normally even in joomla in docker with reverse proxy using SSL.
Only 'images' string are displayed, and the actual images, etc. are not displayed at all. I can't even create a folder.
amd64 environment
Ubuntu 22.0.4.2
Docker 23.0.5
nginx 1.18.0
php-fpm8.1
mariadb 15.1
I did it in the arm environment, but it was the same behavior.
Labels |
Added:
No Code Attached Yet
|
@T-Nosaka Could you post a screenshot of the "Proxy" section in your Site settings in Global Configuration? See here for an example: https://docs.joomla.org/Help4.x:Site_Global_Configuration_Server
I think you have to switch on the "Behind Load Balancer" option for the reverse proxy, and you have to fill in the right details for the outbound proxy (i.e. the forward direction).
Labels |
Added:
Information Required
|
Thank you for answering.
The global setting "Behind Load Balancer" remains Yes.
Shot1
A reverse proxy connection from the internal network is as follows.
Shot2
http://joomla.oci.woonet/
A reverse proxy connection from an external network is as follows.
Shot3
https://homebase.server-on.net/
It's freely connect to the outside from Joomla.
Joomla 3.x had not the problem, so I'm guessing after 4.x is the problem.
Is there any error logged in the browser dev tools?
@T-Nosaka Your first screenshot shows that you have not switched on the "Enable Outbout Proxy" setting. Please do that and then fill in the necessary details in the fields ("Outbound proxy host" and "Outbound proxy port") which become visible below that option when you switch it on.
hi dgrammatiko
I looked it up.
Also, I got an error.
The problem seems to be that the communication for the endpoint is http.
Originally, it is necessary to access with https, but it seems that the protocol is wrong.
So, when I reviewed the nginx settings, the following was missing.
proxy_set_header X-Forwarded-Proto https;
I was able to solve it by adding this.
Thank you everyone.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-05-03 15:34:16 |
Closed_By | ⇒ | T-Nosaka |
Stopping SSL on nginx on the host and changing to port 80 works fine.