Skip to content

Commit a10036d

Browse files
authored
Merge pull request #3 from cikupin/apache_enable_authorization_header
Apache enable authorization header
2 parents 5635c4f + fadd9ef commit a10036d

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

Build/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ RUN docker-php-ext-enable mongo intl imagick rdkafka mongodb memcache ps apcu
9595
# Use the default production configuration
9696
RUN cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
9797

98+
# Enable Authorization header in apache
99+
RUN echo "SetEnvIf Authorization \"(.*)\" HTTP_AUTHORIZATION=\$1" >> /etc/apache2/apache2.conf
100+
98101
# Enable apache2 modules
99102
RUN a2enmod rewrite
100103

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
3+
**Version 5.6.1**
4+
5+
* Enable authorization header in a REST request.
6+
7+
**Version 5.6**
8+
9+
* Use **php:5.6.39-apache-jessie** base image.
10+
* Add datadog APM tracer (beta 0.8.1).
11+
* Add **rdkafka** dependency.

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,19 @@ Dockerized LAMPP stack based on these components:
1414

1515
Table of contents
1616
-----------------
17+
* [Changelog](#changelog)
1718
* [Requirements](#requirements)
1819
* [Building Docker Image](#building-docker-image)
1920
* [Using Docker Compose](#using-docker-compose)
2021
* [Mounting Volume](#mounting-volume)
2122
* [Custom LAMPP Configuration](#custom-lampp-configuration)
2223
* [Expose Port](#expose-port)
2324

25+
Changelog
26+
---------
27+
28+
Open this [CHANGELOG.md](https://github.com/cikupin/docker-lampp/blob/master/CHANGELOG.md) file to see version changelog.
29+
2430
Requirements
2531
------------
2632

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '2'
22
services:
33
php-apache2:
4-
image: cikupin/php-apache2:5.6
4+
image: cikupin/php-apache2:5.6-1
55
container_name: php-apache2-5.6
66
volumes:
77
- ./etc/apache2/sites-available/000-default.conf:/etc/apache2/sites-available/000-default.conf

0 commit comments

Comments
 (0)