Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-paterson committed Feb 17, 2017
2 parents 2f15f12 + 73d593e commit d27c243
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 6 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ All Notable changes to `KickAssDocker` will be documented in this file.

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## 0.1.1 - 2017-02-17

### Added
- Nothing

### Deprecated
- Nothing

### Fixed
- Nginx vhost template
- `docker-compose.yml` example

### Removed
- Nothing

### Security
- Nothing

## 0.1.0 - 2017-02-16

### Added
Expand Down
6 changes: 6 additions & 0 deletions docker-compose-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ services:
web:
build:
context: nginx/
environment:
- VIRTUAL_HOST=dev.kickasscommerce.com
- VIRTUAL_PORT=80
- HTTPS_METHOD=noredirect
ports:
- 80
links:
- fpm
volumes_from:
- appdata

Expand Down
7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
version: "2"
services:
web:
image: kickasscommerce/kickass-nginx:latest
image: kickasscommerce/kickass-nginx:1.9
hostname: dev.kickasscommerce.com
environment:
- VIRTUAL_HOST=kickasscommerce.docker
- VIRTUAL_HOST=dev.kickasscommerce.com
- VIRTUAL_PORT=80
- HTTPS_METHOD=noredirect
- CERT_NAME=default
ports:
- 80
- 443
links:
- fpm
volumes_from:
Expand Down
8 changes: 4 additions & 4 deletions nginx/etc/vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ upstream fastcgi_backend {

server {
listen 80;
listen [::]:80 ipv6only=on;

server_name localhost;

set $APP_ROOT !APP_ROOT!;

root $APP_ROOT;
root $APP_ROOT/public;
index index.php index.html index.htm;

server_name localhost;
autoindex off;

location / {
try_files $uri $uri/ /index.php?$query_string;
Expand Down

0 comments on commit d27c243

Please sign in to comment.