One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # | |
| # Acts as a nginx HTTPS proxy server | |
| # enabling CORS only to domains matched by regex | |
| # /https?://.*\.mckinsey\.com(:[0-9]+)?)/ | |
| # | |
| # Based on: | |
| # * http://blog.themillhousegroup.com/2013/05/nginx-as-cors-enabled-https-proxy.html | |
| # * http://enable-cors.org/server_nginx.html | |
| # | |
| server { |
| server { | |
| listen 8000; | |
| server_name localhost; | |
| root /Users/dmoore/projects/tutorials/angular-phonecat2/.build; | |
| access_log "/Users/dmoore/projects/tutorials/angular-phonecat2/logs/hotili-net.access.log"; | |
| error_log "/Users/dmoore/projects/tutorials/angular-phonecat2/logs/hotili-net.error.log"; | |
| error_page 404 /app/404.html; | |
| error_page 403 /app/403.html; |
| .fadable { | |
| transition: 0s linear all; | |
| } | |
| .fadable.ng-hide-remove { | |
| opacity: 0; | |
| display: block !important; | |
| transition: 0.5s linear all; | |
| } | |
| .fadable.ng-hide-remove.ng-hide-remove-active { | |
| opacity: .5; |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| { | |
| "directory": "components" | |
| } |
| #!/bin/bash | |
| ## Author: Ken Goldfarb <hello@kengoldfarb.com> | |
| ## https://github.com/kengoldfarb | |
| ## | |
| ## This script will install Nginx+Pagespeed with PHP-FPM 5.5.x | |
| ## It's testsed working on a stock AWS Ubuntu 14.04 image | |
| ## | |
| ## BONUS: Oh-my-zsh installation included! |
| /* | |
| See dev dependencies https://gist.github.com/isimmons/8927890 | |
| Compiles sass to compressed css with autoprefixing | |
| Compiles coffee to javascript | |
| Livereloads on changes to coffee, sass, and blade templates | |
| Runs PHPUnit tests | |
| Watches sass, coffee, blade, and phpunit | |
| Default tasks sass, coffee, phpunit, watch | |
| */ |