[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [scl.org] rhscl/httpd-24-rhel7



----- Original Message -----
> From: "Yusuf Kör" <ykoer redhat com>
> To: sclorg redhat com
> Sent: Thursday, November 9, 2017 5:34:31 PM
> Subject: [scl.org] rhscl/httpd-24-rhel7
> 
> Hi,
> 
> I am currently working on ambassadors project which will run on
> Openshift. We are also using rhscl/httpd-24-rhel7 image. Is there a
> documentation how I can enable SSL?
> 
> This didn't really help
> https://access.redhat.com/documentation/en-us/red_hat_software_collections/2/html/using_red_hat_software_collections_container_images/daemon-images#description-9
> 
> I put a conf file with all the SSL configuration into
> /opt/app-root/etc/httpd.d, but it is not used.

The service is exposed on 8443 by default:

```
>> oc new-app centos/httpd-24-centos7~https://github.com/openshift/httpd-ex
--> Found Docker image cc5566b (7 days old) from Docker Hub for "centos/httpd-24-centos7"

    Apache httpd 2.4
    ----------------
    Apache httpd 2.4 available as docker container, is a powerful, efficient, and extensible web server. Apache supports a variety of features, many implemented as compiled modules which extend the core functionality. These can range from server-side programming language support to authentication schemes. Virtual hosting allows one Apache installation to serve many different Web sites.

    Tags: builder, httpd, httpd24

    * An image stream will be created as "httpd-24-centos7:latest" that will track the source image
    * A source build using source code from https://github.com/openshift/httpd-ex will be created
      * The resulting image will be pushed to image stream "httpd-ex:latest"
      * Every time "httpd-24-centos7:latest" changes a new build will be triggered
    * This image will be deployed in deployment config "httpd-ex"
    * Ports 8080/tcp, 8443/tcp will be load balanced by service "httpd-ex"

```

You just need to set up a proper route. You'll can also use './httpd-cfg' folder to add more config files.
For more info about the container, please check [1].

Regards,
Pavel

[1] https://github.com/sclorg/httpd-container/tree/master/2.4

> 
> 
> Thanks a lot
> Yusuf
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]