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.
IS_HEROKU
NON_PRIVILEGED_USER
PORT
1 parent 2618274 commit 4ae4245Copy full SHA for 4ae4245
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
+ WEB_HTTPS="false"
7
+ WEB_HTTP_PORT=$PORT
8
9
+ export NON_PRIVILEGED_USER="true"
10
+fi
php/shared/usr/local/share/env/20-heroku
0 commit comments