Skip to content

Commit

Permalink
Merge pull request #3 from cikupin/apache_enable_authorization_header
Browse files Browse the repository at this point in the history
Apache enable authorization header
  • Loading branch information
cikupin authored Jan 26, 2019
2 parents 5635c4f + fadd9ef commit a10036d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ RUN docker-php-ext-enable mongo intl imagick rdkafka mongodb memcache ps apcu
# Use the default production configuration
RUN cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"

# Enable Authorization header in apache
RUN echo "SetEnvIf Authorization \"(.*)\" HTTP_AUTHORIZATION=\$1" >> /etc/apache2/apache2.conf

# Enable apache2 modules
RUN a2enmod rewrite

Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

**Version 5.6.1**

* Enable authorization header in a REST request.

**Version 5.6**

* Use **php:5.6.39-apache-jessie** base image.
* Add datadog APM tracer (beta 0.8.1).
* Add **rdkafka** dependency.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ Dockerized LAMPP stack based on these components:

Table of contents
-----------------
* [Changelog](#changelog)
* [Requirements](#requirements)
* [Building Docker Image](#building-docker-image)
* [Using Docker Compose](#using-docker-compose)
* [Mounting Volume](#mounting-volume)
* [Custom LAMPP Configuration](#custom-lampp-configuration)
* [Expose Port](#expose-port)

Changelog
---------

Open this [CHANGELOG.md](https://github.com/cikupin/docker-lampp/blob/master/CHANGELOG.md) file to see version changelog.

Requirements
------------

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
php-apache2:
image: cikupin/php-apache2:5.6
image: cikupin/php-apache2:5.6-1
container_name: php-apache2-5.6
volumes:
- ./etc/apache2/sites-available/000-default.conf:/etc/apache2/sites-available/000-default.conf
Expand Down

0 comments on commit a10036d

Please sign in to comment.