Skip to content

Commit

Permalink
- Remove keys from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dusterio committed Dec 14, 2016
1 parent f430c6a commit 0f392b3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 65 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ Lumen application key

### Gateway variables

#### PUBLIC_KEY

Put your public RSA key in this variable

#### PRIVATE_KEY

Put your private RSA key in this variable

#### GATEWAY_SERVICES

JSON array of microservices behind the API gateway
Expand Down
4 changes: 4 additions & 0 deletions ci/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ rm -rf /home/app/storage/cache/*
# Import routes from services
/usr/bin/php /home/app/artisan gateway:parse

# Create key files
echo ${PRIVATE_KEY} > /home/app/storage/oauth-private.key
echo ${PUBLIC_KEY} > /home/app/storage/oauth-public.key

# Increase limits
upload_max_filesize=20M
post_max_size=20M
Expand Down
51 changes: 0 additions & 51 deletions storage/oauth-private.key

This file was deleted.

14 changes: 0 additions & 14 deletions storage/oauth-public.key

This file was deleted.

0 comments on commit 0f392b3

Please sign in to comment.