Skip to content

Commit

Permalink
Add SERVER_MODE to remaining files
Browse files Browse the repository at this point in the history
  • Loading branch information
mat committed Dec 10, 2019
1 parent 11024e9 commit 9747f7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ENV HOST_ONLY_DOMAINS=*
ENV POPULAR_SITES=bing.com,github.com,instagram.com,reddit.com
ENV HTTP_CLIENT_TIMEOUT=5s
ENV HTTP_MAX_AGE_DURATION=720h
ENV SERVER_MODE=redirect

# Run the web service on container startup.
CMD ["/iconserver"]
3 changes: 3 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"HTTP_MAX_AGE_DURATION": {
"value": "720h"
},
"SERVER_MODE": {
"value": "redirect"
},
"POPULAR_SITES": {
"value": "github.com"
}
Expand Down
1 change: 1 addition & 0 deletions docker_run.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ HOST_ONLY_DOMAINS=*
POPULAR_SITES=bing.com,github.com,instagram.com,reddit.com
HTTP_CLIENT_TIMEOUT=5s
HTTP_MAX_AGE_DURATION=10s
SERVER_MODE=redirect

0 comments on commit 9747f7e

Please sign in to comment.