Created
November 6, 2014 00:25
-
-
Save theresaanna/9bcc904e28634ac7b091 to your computer and use it in GitHub Desktop.
Mac nginx openFEC + openFEC-web-app setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install nginx | |
sudo cp -v /usr/local/opt/nginx/*.plist /Library/LaunchDaemons/ | |
sudo chown root:wheel /Library/LaunchDaemons/homebrew.mxcl.nginx.plist | |
sudo mkdir /usr/local/etc/nginx/vhosts | |
sudo cp openFEC/webservices/setup/nginx_conf_default_no_ssl /usr/local/etc/nginx/vhosts/default.conf | |
sudo ln -s /usr/local/etc/nginx/vhosts/default.conf /usr/local/etc/nginx/sites-available/default | |
sudo rm /usr/local/etc/nginx/nginx.conf | |
sudo ln -s /usr/local/etc/nginx/vhosts/default.conf /usr/local/etc/nginx/nginx.conf | |
sudo launchctl start /Library/LaunchDaemons/homebrew.mxcl.nginx.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment