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
http { | |
# Declare index at http level | |
index index.html index.php; | |
server { | |
# Set IP & Port For Server Block | |
listen 00.000.000.000:80; | |
# Set Server Name | |
server_name www.example.com; | |
# Redirect WWW to non WWW (http://wiki.nginx.org/Pitfalls) |
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
/* gum - v0.1.0 - 3/08/2012 | |
* https://github.com/rwldrn/dmv (gum) | |
* Copyright (c) 2012 Rick Waldron <waldron.rick@gmail.com>; Licensed MIT */ | |
(function( window, navigator ) { | |
// 2012-03-08 Inspired by https://gist.github.com/f2ac64ed7fc467ccdfe3 | |
// If unprefix.js is available, use it. | |
// https://github.com/rwldrn/unprefix.js | |
// Otherwise... | |
if ( !window.unprefix ) { |