Part 1.
HCP v1.8.12
domain valid.
Let’s Encrypt SSL installed - and previously worked.
https://apps.cleverapps.online/sales-manager/ quickly redirects to http:// and is unsecure.
Part 2.
This domain hosts a React Web app I am developing with assistance from Claude.ai. (just fyi)
Claude has recommended change to Apache2 config:
# Force HTTPS for the entire domain
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
# Proxy configuration
<Location /sales-manager>
SSLProxyEngine On
ProxyPass http://localhost:3001/
ProxyPassReverse http://localhost:3001/
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
ProxyPreserveHost On
</Location>
# Additional SSL Headers
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
</IfModule>
And to add proxy extensions settings:
/sales-manager proxy:localhost:3001
The Proxy Extension I can do in HCP Web. The change to the Apache2 config for the domain app.cleverapps.online I have no idea where to edit/place.
Any ideas guys? Thank you!
Edward