We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2618274 + e46a0e6 commit 828d585Copy full SHA for 828d585
nginx/usr/local/share/env/20-heroku
@@ -0,0 +1,10 @@
1
+#!/bin/bash
2
+
3
+# If running inside Heroku, exposed port is in `$PORT`
4
+IN_HEROKU="$(convert_to_boolean_string "${IN_HEROKU:-false}")"
5
+if [ "true" = "$IN_HEROKU" ]; then
6
+ export WEB_HTTPS="false"
7
+ export WEB_HTTP_PORT=$PORT
8
9
+ export NON_PRIVILEGED_USER="true"
10
+fi
php/shared/usr/local/share/env/20-heroku
0 commit comments