So I have the following settings in my apache http virtualhost :80 config:
<Location "/analytics/">
ProxyPreserveHost On
ProxyPass "http://192.168.1.1/"
ProxyPassReverse "http://192.168.1.1/"
</Location>
This works fine when connecting on http and even applies to https when using a normal gTLD like .com / .org.
But when using this on an .app gTLD the config does not work at all. It seems like because of the forced SSL HTTPS nature of the .app gTLD, its not even loading the Apache :80 config?
Now when I also add the config above to the apache https virtualhost :443 config, then it works fine.
Some questions I have:
I have spent a few hours looking for an answer as to IF you HAVE to apply Location / Directory / Alias directives to both the 80 and 443 configs in Apache? It seems like they work fine when just adding them to 80 most of the time? But not in this .app case, but I cant seem to find what the standard is - do you have to apply these directives to both 80 and 443 or is 80 enough and will 443 then get that from 80?
Why is the setting needed in 443 for .app domains but not for other gTDLs? Is it because browsers are just loading more strictly from the apache server? 443 configs only for .app but less strict for other gTDLs when loading https?
Some of this is being posted for reference for others as I could not find much online about it, but I am also interested in the answers for some of these questions.