Score:0

Running Next.JS app on Apache VPS server, can't get HTTPS to work

cu flag

I have a Next.JS app running on a VPS server on port 1234. I have reversed proxied it via the Apache include for the subdomain with the following lines:

SSLProxyEngine on

ProxyPass /.well-known !

ProxyPass / http://SUBDOMAIN.ca:1234/

ProxyPassReverse / http://SUBDOMAIN.ca/

The app works fine when I go to http://SUBDOMAIN.ca but when I go to https://SUBDOMAIN.ca I get a 403 error. What am I doing wrong?

in flag
Please provide the complete virtualhost blocks for both http and https.
Brady Gunn avatar
cu flag
That is all I have in the include for that subdomain. Where would I find the virtualhost blocks for http and https?
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.