./httpd-cfg settings are not used by ssl virtual host

Open
#356 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
apache, shell
Domain
backend, devops

Research direction

Read common.sh at the linked line and compare how ./httpd-cfg is applied for the 8080 and 8443 virtual hosts. Confirm the intended SSL virtual-host behavior; done means shared settings are applied consistently without relying on .htaccess or a reverse proxy.

Written by the indexing model from the issue text.

Description

I have noticed that the config ./httpd-cfg is not used by the ssl host. I am wondering what the meaning is when we can add certificates but that virtualhost config is not the same for 8080 and 8443.

See

https://github.com/sclorg/s2i-php-container/blob/master/7.4/root/usr/share/container-scripts/php/common.sh#L38

The workaround is to configure shared settings with the .htaccess which is not ideal.

A reverse proxy in ssl can do the trick also

ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
Dominant language
Shell
Stars
114
Forks
326
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sclorg/s2i-php-container

All issues in sclorg/s2i-php-container

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.