Bug 1042920 - Enable apps to have Node httpd redirect HTTP to HTTPS
Summary: Enable apps to have Node httpd redirect HTTP to HTTPS
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 2.0.0
Hardware: All
OS: All
low
high
Target Milestone: ---
: ---
Assignee: jofernan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-13 16:01 UTC by Keith Robertson
Modified: 2023-09-14 01:55 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-11 21:00:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Keith Robertson 2013-12-13 16:01:23 UTC
Description of problem:
Since it is not possible to pass HTTPS connections all the way through to a JBoss gear with a HA proxy, gears of this type need the ability to manipulate their VirtualHost configuration on the OSE node such that all HTTP traffic is redirected to HTTPS.

Version-Release number of selected component (if applicable):
All

How reproducible:
Always


Expected results:
Gears have the ability to manipulate their own VirtualHost configuration in the OSE node such that the Apache server does HTTP redirection to HTTPS as described in [1].
 

Additional info:
[1] http://wiki.apache.org/httpd/RedirectSSL

Comment 2 Luke Meyer 2014-05-13 17:40:05 UTC
Under the apache-vhost frontend you could modify the HTTP template to automatically do this globally.

To do it on a per-app basis you could have the vhost HTTP template look for a marker file in the app that indicates the desire to do this, and provide the ability for the user to regenerate the frontend after changing the marker file.

Would one or the other approach fulfill the specific request adequately? Neither would address the apache-mod-rewrite frontend.

Comment 4 Red Hat Bugzilla 2023-09-14 01:55:23 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.