Skip to content

Instantly share code, notes, and snippets.

@ctrlaltdylan
Created June 14, 2022 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctrlaltdylan/00cf2fe6b570f5bc82fe8482f2d14549 to your computer and use it in GitHub Desktop.
Save ctrlaltdylan/00cf2fe6b570f5bc82fe8482f2d14549 to your computer and use it in GitHub Desktop.
Apache ENV file for gitpod
export APACHE_SERVER_NAME=$(gp url 8080 | sed -e s/https:\\/\\/// | sed -e s/\\///)
export APACHE_RUN_USER="gitpod"
export APACHE_RUN_GROUP="gitpod"
export APACHE_RUN_DIR=/var/run/apache2
export APACHE_PID_FILE="$APACHE_RUN_DIR/apache.pid"
export APACHE_LOCK_DIR=/var/lock/apache2
export APACHE_LOG_DIR=/var/log/apache2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment