Score:0

Apache Gateway to Dockerized FPM Container?

gw flag

I have a dockerized app with a web fpm interface (monica:fpm-alpine), and a vps on the internet.

I want my vps to be an https gateway to this app.

I thought I could use a virtual host include file and apache mod_proxy to do this, but all I get is grief. The docker logs don't suggest a

This virtual host apache include file has:

ProxyPass / fcgi://localhost:9432/
ProxyPassReverse / fcgi://localhost:9432/

And I've mapped port 9432 to port 9000 for my docker container.

The apache log shows:

 [Wed May 17 15:21:06.686610 2023] [proxy:debug] [pid 1667573:tid 23434592974592] proxy_util.c(2850): [remote 76.182.65.97:35902] AH00947: connected / to localhost:9432
[Wed May 17 15:21:06.686721 2023] [proxy:debug] [pid 1667573:tid 23434592974592] proxy_util.c(3326): AH02824: FCGI: connection established with [::1]:9432 (localhost:9432)
[Wed May 17 15:21:07.815663 2023] [proxy_fcgi:error] [pid 1667573:tid 23434592974592] [remote 76.182.65.97:35902] AH01067: Failed to read FastCGI header
[Wed May 17 15:21:07.815707 2023] [proxy_fcgi:error] [pid 1667573:tid 23434592974592] (104)Connection reset by peer: [remote 76.182.65.97:35902] AH01075: Error dispatching request to : 

I have other web apps on Docker that I'd like to frontend with https, so solving this would help those cases, too.

Thanks!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.