-
Notifications
You must be signed in to change notification settings - Fork 0
/
powconfig.symlink
21 lines (21 loc) · 1.19 KB
/
powconfig.symlink
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Pow loses the path as it's not run in a terminal. This ensures it uses brew's
# ruby instead of system ruby.
export PATH=/Users/zaius/.dotfiles/bin:/usr/local/sbin:/usr/local/bin:/usr/local/Cellar/ruby/1.9.3-p194/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
# Keep sites loaded for more than the default 5m.
export POW_TIMEOUT=86400
# Allow com domains to be mapped, but don't enable the resolver for them. com
# sites can be added on a case by case basis to /etc/hosts
export POW_EXT_DOMAINS=com
# Let nginx handle the forwarding of connections, that way we can use nginx
# for hosting other domains if required. This is important to stop google
# analytics from fucking up.
# There used to be a way to disable this, but it looks easier to just move the
# pow forwarding off 80.
# It looks like pow 0.4 has a separate service for the firewall. just need to
# make sure that doesn't start?
# Check for forwarding! Even if the nginx server is listening, if the old forwarding is set up, it won't get through
# Also, the pow firewall launch daemon doesn't correctly remove the rule
# sudo ipfw list
# ipfw delete 00100
# http://leonid.shevtsov.me/en/how-to-install-nginx-over-pow-in-os-x
export POW_DST_PORT=8888