update fixture

update fixture

<!DOCTYPE html>

	<title>Mike Gillis puts the “can” in “Canucks”, ties it to Alain Vigneault  | Edmonton Journal</title>
	<meta name="application-name" content="Edmonton Journal" />
	<meta name="msapplication-tooltip" content="Edmonton Journal" />
	<meta charset="UTF-8" />
	<link rel="pingback" href="http://blogs.edmontonjournal.com/xmlrpc.php" />
	<link rel="profile" href="http://gmpg.org/xfn/11" />
	<link rel="stylesheet" type="text/css" media="screen" href="http://s0.wp.com/wp-content/themes/vip/postmediablogs/style.css?m=1367348449g" />

	<link rel="shortcut icon" href="http://s0.wp.com/wp-content/themes/vip/postmediablogs/property/edmontonjournal/favicon.ico?m=1359397814g" />

<meta name="description" content="The expected happened this afternoon when Vancouver Canucks GM Mike Gillis announced that coach Alain Vigneault and staff have been dismissed.Vigneault had a great run in VanCity, winning the Jack Adams Award his first year behind the bench and setting a high standard that he maintained throughout h..." />
<meta name="keywords" content="cult of hockey, cult of hockey: on the nhl, alain vigneault, mike gillis, president's trophy, vancouver canucks" />
<meta name="google-site-verification" content="ltDHjjX2SiA-xn3YNzm50iPlJYwDQuRN8VpGocVEMEg" />

		<link rel="alternate" type="application/rss+xml" title="Edmonton Journal » Mike Gillis puts the “can” in “Canucks”, ties it to Alain Vigneault Comments Feed" href="http://blogs.edmontonjournal.com/2013/05/22/alain-vigneault-canned-by-canucks/feed/" />

<link rel='stylesheet' id='all-css-0' href='http://s2.wp.com/wp-content/mu-plugins/likes/jetpack-likes.css?m=1366743539g' type='text/css' media='all' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssglobalcss-css'  href='http://www.edmontonjournal.com/css/global.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssheadercss-css'  href='http://www.edmontonjournal.com/css/header.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssheader_navcss-css'  href='http://www.edmontonjournal.com/css/header_nav.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssgridcss-css'  href='http://www.edmontonjournal.com/css/grid.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssbrandingcss-css'  href='http://www.edmontonjournal.com/css/branding.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssfootercss-css'  href='http://www.edmontonjournal.com/css/footer.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='screen-css-12' href='http://s1.wp.com/_static/??-eJyVzMsNgzAMANCFKFZFVNpDxSwQLEgUfxQbULcvR64M8B4c+ojCjuzgKxIa7ElBxZxwTuNUZDHQKorVfxCFSBgsVkRuo1kD9wKcT+/CWbbKY7lMA32f3avvwjuET/4DpPQ5hQ==' type='text/css' media='screen' />
<link rel='stylesheet' id='all-css-12' href='http://s1.wp.com/_static/??/wp-content/mu-plugins/post-flair/style.css,/wp-content/themes/h4/global.css?m=1366212140j' type='text/css' media='all' />

<link rel='stylesheet' id='all-css-0' href='http://s0.wp.com/wp-content/mu-plugins/highlander-comments/style.css?m=1369818522g' type='text/css' media='all' />

<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://postmediaedmonton.wordpress.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://postmediaedmonton.wordpress.com/wp-includes/wlwmanifest.xml" />
<link rel='prev' title='The Tax Implications of Marital Breakdown' href='http://blogs.edmontonjournal.com/2013/05/22/the-tax-implications-of-marital-breakdown/' />
<link rel='next' title='Eskimos release Shawn Lemon, add a running back and one outstanding name' href='http://blogs.edmontonjournal.com/2013/05/22/eskimos-release-shawn-lemon-add-a-running-back-and-one-outstanding-name/' />
<meta name="generator" content="WordPress.com" />
<link rel='canonical' href='http://blogs.edmontonjournal.com/2013/05/22/alain-vigneault-canned-by-canucks/' />
<link rel='shortlink' href='http://wp.me/p1uRoG-HfP' />
<link rel="alternate" type="application/json+oembed" href="http://public-api.wordpress.com/oembed/1.0/?format=json&url=http%3A%2F%2Fblogs.edmontonjournal.com%2F2013%2F05%2F22%2Falain-vigneault-canned-by-canucks%2F&for=wpcom-auto-discovery" /><link rel="alternate" type="application/xml+oembed" href="http://public-api.wordpress.com/oembed/1.0/?format=xml&url=http%3A%2F%2Fblogs.edmontonjournal.com%2F2013%2F05%2F22%2Falain-vigneault-canned-by-canucks%2F&for=wpcom-auto-discovery" /><link rel='openid.server' href='http://postmediaedmonton.wordpress.com/?openidserver=1' />
<link rel='openid.delegate' href='http://postmediaedmonton.wordpress.com/' />
<link rel="search" type="application/opensearchdescription+xml" href="http://blogs.edmontonjournal.com/osd.xml" title="Edmonton Journal" />
<link rel="search" type="application/opensearchdescription+xml" href="http://wordpress.com/opensearch.xml" title="WordPress.com" />

		<meta property="fb:app_id" content="476107372414010"/>

		<meta name="application-name" content="Edmonton Journal" /><meta name="msapplication-window" content="width=device-width;height=device-height" /><meta name="msapplication-tooltip" content="Edmonton Journal Blogs" /><meta name="msapplication-task" content="name=Subscribe;action-uri=http://blogs.edmontonjournal.com/feed/;icon-uri=http://s2.wp.com/i/favicon.ico" />

Edmonton Journal>Blogs >Cult of Hockey Cult of Hockey RSS Feed

Mike Gillis puts the “can” in “Canucks”, ties it to Alain Vigneault

May 22, 2013. 1:27 pm • Section: Cult of Hockey, Cult of Hockey: On the NHL

NHL coaching is not so much a dog-eat-dog as a Shark-eat-Orca world. Alain Vigneault's final departure from behind the Vancouver Canucks' bench didn't get a whole lot of sympathy in the Shark Tank. (Photo: Christian Petersen/Getty Images North America)

Increase Font Size

Print Page

RSS Feed

Posted by:

										Bruce McCurdy

Recent Posts From This Author

Teemu Hartikainen leaves Edmonton Oilers for KHLPosted on Jun 10, 2013

Justin Schultz had an action-packed professional debutPosted on Jun 10, 2013

Did Craig MacTavish offer associate coaching job to Rick Bowness? Glenn Healy says soPosted on Jun 9, 2013

Chris VandeVelde got another trial with the Oilers but couldn’t earn the trust of the coaching staffPosted on Jun 8, 2013

The expected happened this afternoon when Vancouver Canucks GM Mike Gillis announced that coach Alain Vigneault and staff have been dismissed.

Vigneault had a great run in VanCity, winning the Jack Adams Award his first year behind the bench and setting a high standard that he maintained throughout his extended stay. “AV” coached the Canucks to six division titles in his seven years behind the bench, including the last five in a row. That regular-season success wasn’t just limited to the at-times feeble Northwest, as Vancouver won back-to-back Presidents’ Trophies in 2010-11 and 2011-12. In 540 games over seven years, Vigneault’s squad posted an impressive 313-170-57 record for a .632 points percentage.

Alain Vigneault coaching record

Alas, things didn’t go so well in the post-season, where Vigneault’s crew posted just a 33-35 record (.485) and a single Western Conference pennant in 2011. Despite persistent home ice advantage, AV’s crew won 6 series and lost 6 over 6 playoff years. For Mike Gillis that was the number of the beast, apparently, as he deemed it time for a fresh voice in the room. Who knows, maybe it is time, these things do seem to have cycles and best-before dates, and judging by Vancouver’s rapid exits from the past two post-seasons, maybe the message was no longer seeping though.

Let’s just say that Gillis will be hard-pressed to find a better bench boss to replace Vigneault, who immediately goes on the short list of every team looking for a coach. Such is the nature of the coaching biz, whose motto is surely “hired to be fired”. Fortunately for proven career coaches like Alain Vigneault, the converse “fired to be re-hired” is a certain bet.

One could argue that Gillis didn’t exactly deal him or assistants Rick Bowness and Newell Brown a fair hand in 2013-13 when he failed to resolve the goaltending issue, tying up nearly $10 MM in cap hit in the crease while ensuring ongoing discord and controversy. Meanwhile, the Canucks struggled to replace the retired Malhotra or the injured Ryan Kesler or the traded (for plumber Zack Kassian) Cody Hodgson, leaving a hole in the donut on way too many lines on way too many nights. When your second highest scoring centre has 13 points, I’m not sure that’s on the coach. Nor is it the coach’s fault when his backup goalie makes double the money of his active #2-3-4 pivots combined. (“Hey Bobby Luu, how are you on d-zone draws?”)

Still, it’s axiomatic that the general manager hires the coach and not the other way round, so no matter who is responsible, the axe is bound to fall on several coaches for every GM that gets the boot. Like so many GMs in so many cities, Gillis gets a do-over, even as his own performance comes increasingly under the microscope.

Vigneault has a deserved rep as an excellent “details” coach with a willingness to innovate. His experiments with Zone Starts are testament to that, as his extreme deployments of Henrik Sedin and Manny Malhotra set new benchmarks in that strategem. For all of AV’s rep as a defence-first guy, his extreme-offensive deployment of the Sedins opened the door for both twins to lead the NHL in scoring (in consecutive years, natch). Over most of Vigneault’s tenure, the Canucks were above-average at both ends of the ice, a team that could open a game up or button it down as needed. Indeed, his best team, the 2010-11 powerhouse, led the NHL in both goals for and against while cruising to the Presidents’ Trophy by a cushy 10 points. Had that team not suffered a late collapse in the Stanley Cup Finals, it would have to be considered one of the best NHL squads of the past five years.

Might Vigneault be of interest to the Edmonton Oilers? That proven track record of winning and at least making the playoffs looks pretty darn good from this distance. There is a loose connection there, as incoming Oilers GM Craig MacTavish did his last coaching gig in the Canucks organization, head man for Chicago Wolves of the AHL in 2011-12. Who knows, were the timing a tad different, MacT could have been the man poised to take AV’s post right now. Instead, he’s one of 29 potential future employers of the highly-marketable coach.

Seems an unlikely match, though. Ralph Krueger appears to be firmly ensconced for now, moreover Oilers have plenty of recent experience with senior staff hirings from the Vancouver organization, not all of it good. Steve Tambellini, Pat Quinn and Tom Renney have all moved on, while MacTavish’s own experience with that organization was both brief and at some distance from the epicentre.

Some NHL team will land him, though. Indeed, the accomplished Vigneault may have his pick from multiple options. Look for him to land on his feet with a destined-to-improve club in the near future.

Recently at the Cult of Hockey

Season in review: Jordan Eberle

Season in review: Sam Gagner

Might hotshot Valeri Nichushkin fall to the Oilers?

Shawn Horcoff’s play and role have fallen off the last two seasons

The Edmonton Oilers’ five-year plan, 2013 edition

Don Cherry makes yet another asinine statement

Oilers UFA targets: Viktor Stalberg and Bryan Bickell

Follow Bruce McCurdy on Twitter

Tags:

alain vigneault,

Mike Gillis,

President's Trophy,

Vancouver Canucks

					Ryan Nugent-Hopkins: a first-line centre for the Edmonton OilersNext Cult of Hockey post					Might hot shot Russian prospect Valeri Nichushkin still slide to Edmonton Oilers?Previous Cult of Hockey post

We encourage all readers to share their views on our articles and blog posts. We are committed to maintaining a lively but civil forum for discussion, so we ask you to avoid personal attacks, and please keep your comments relevant and respectful. If you encounter a comment that is abusive, click the “X” in the upper right corner of the comment box to report spam or abuse. We are using Facebook commenting. Visit our FAQ page for more information.

Cult of Hockey Blog Sections

Cult of Hockey: On the NHLLast post Jun 5, 2013

OilersLast post Jun 11, 2013

 Blog Sections

BusinessLast post Jun 4, 2013

CommunityLast post Jun 10, 2013

Cult of HockeyLast post Jun 11, 2013

Edmonton CommonsLast post May 23, 2013

EntertainmentLast post Jun 11, 2013

LifeLast post Jun 11, 2013

NewsLast post Jun 11, 2013

SportsLast post Jun 10, 2013

TechnologyLast post Jun 6, 2013

Recent Contributors

Fish Griwkowsky121 total posts.Last Post: Jun 11, 2013

Amanda Ash80 total posts.Last Post: Jun 11, 2013

alicjawithaj1 total posts.Last Post: Jun 11, 2013

Liz Nicholls275 total posts.Last Post: Jun 11, 2013

kannable50things4 total posts.Last Post: Jun 11, 2013

Liane Faulder1798 total posts.Last Post: Jun 11, 2013

ATCO Blue Flame Kitchen9 total posts.Last Post: Jun 11, 2013

Search

<form method="get" id="searchform" action="http://blogs.edmontonjournal.com/">

		<input type="text" class="inputbox" value="" name="s" />
		search

</form>

Cult of Hockey Blogroll

2013 Oilers even strength scoring chances +/-

2013 Oilers game by game scoring chances

2013 Oilers game grades

2013 Oilers numbers at BehindtheNet.ca

2013 Oilers scoring chances per game/conversions %

2013 Oilers scoring chances special teams

2013 Oilers TV broadcasts

2013 Oilers vs opposition scoring chances

2013 Oilers Zone Exits

2013 Shift charts for games

2013 team shooting and PDO numbers

2013 team shot metrics Behind the Net

2103 Oilers Time on Ice NHL.com

All Oiler drafts 1979-present

All Oilers trades, 1979-to-present

Archive 1997-2012 Oilers franchise valuations (Forbes)

Archive 2007-08 Oilers Neilson goals

Archive 2008-09 Oilers goals +/-

Archive 2009-10 Oilers goals +/-

Archive 2010-11 Oilers scoring chances

Archive 2011-12 Oilers scoring chances

Archive 2012-13 OKC scoring chances

Archive Historical scoring chances data, Stanley Cups info, blogs

Archive: 5 year study on NHL's plus-minus stat

Archive: F.A.Q. What is scoring chances data?

Black Dog Hates Skunks

Coming Down The Pipe

Hockey Analytics

Hockey Summary Project

Hockey Zen

Jean Shorts And Bagged Milk

Loud Mouth Hemsky Fan

Lowetide

MC79

Nice Time on Ice

Oil On Whyte

Oiler Spill

Oilers — Capgeek

Oilers — most common linemates

Oilers — player usage chart

Oilers — roster

Oilers — Sporting Charts stats on team/players

Oilers injury bios — Hockey News

Oilers Jambalaya

Oilers Nation

Oilers Republic

Oilogosphere feed to Oilers blogs

Polljunkie.com

Putting On The Foil

Sabremetric Research

Swedish Oil

The 10 best and 10 worst Oilers draft picks

The Copper & Blue

Recent  Posts

2o13.o6.11 ~ tweeting sylvesterPosted on Jun 11, 2013

Pretty Secrets pop-up this weekendPosted on Jun 11, 2013

50 Things YEG – Weekend UpdatePosted on Jun 11, 2013

Kids wanted: It’s a jolly holiday with Mary…Posted on Jun 11, 2013

Edmonton’s 50 things – Great farmland and place to grow local food, 100 years of urban agriculturePosted on Jun 11, 2013

May 2013

		M
		T
		W
		T
		F
		S
		S

		« Apr

		Jun »

		 	<a href="http://blogs.edmontonjournal.com/2013/05/01/" title="Should the Edmonton Oilers sign Kyle Bigos?
Final marks for Oilers d-men: J. Schultz > Smid = Potter > Petry = N. Schultz > Fistric >> Whitney
Tickets for Slow Food’s Indulgence 13 on sale today
Slow Food Edmonton presents Beer and Berkshire on May 26
CFL adds a seventh round to Monday’s draft
Gigs: Gold & Youth, Leeroy Stagger, The Maddigans, The Slackers, The Besnard Lakes, Big Country, Rancid, Run The Jewels and more
Los Angeles Kings winger Dustin Penner was force in Game 1 playoff loss
Play Slam, the hand-to-hand combat for playwrights
Narayanni’s expands its vegan buffet nights
Edmonton Oilers GM Craig MacTavish scouting role players in the playoffs
Video: Austra’s Home">1	<a href="http://blogs.edmontonjournal.com/2013/05/02/" title="Should the Edmonton Oilers trade their first round pick in the 2013 NHL Draft?
Guerilla raspberry project in the works
The Soul Collector: Catalyst goes sledding
Happy Birthday Roots On Whyte
CineCoup announces Top 15 film projects
2013 WHL bantam draft tracker
AUDIO: Eskimos general manager Ed Hervey discusses Monday’s CFL Draft and receivers Marcus Henry and Adarius Bowman
Weekend gigs: Karla Adolphe, Lindsey Walker
More opinions from Kevin O’Leary, the man (some) Canadians love to hate
Yvan Chartrand of Tree Stone Bakery offers a charity baking class
This Weekend Is a Mix of Sun, Snow, and Golf in the Canadian Rockies
CIBC: Poloz appointment shows BOC will have closer ties to private sector
Detroit Red Wings reaching into vault for Todd Bertuzzi in uphill battle against Anaheim Ducks
Edmonton downtown arena deal is on ice — but rightly so
Do the Edmonton Oilers go in another direction in goal or should they bring Nikolai Khabibulin back?
Figure skating needs CPR
Reader poll — Should Eric Gryba be suspended for his hit on Lars Eller?">2	<a href="http://blogs.edmontonjournal.com/2013/05/03/" title="Jonathan Drouin: Statistically, the best draft-eligible QMJHL forward since Sidney Crosby
Passion for Pork hosts a Swine and Dine night at St. Albert’s The River House
The Butterdome Spring Craft Sale is this weekend
You Tweet? We Tweet!
Gigantour: July 26 at Rexall Place
Tracking Oilers, prospects: With NHL playoffs still a pipe dream, young Oil face tests elsewhere
Oil Kings hope to end 0-20 run on power play in Game 1 of WHL Final
Return of the Mac
Check out La Crema Caffe in St. Albert for gluten-free options
WHL championship redux – a look back at 2012′s Oil Kings-Winterhawks final series
Shout out to chef Vinod Varshney of NAIT for joining food bank fundraiser
Brendan Shanahan did what he had to do suspending Ottawa’s Eric Gryba for smack-down on Lars Eller
Edmonton Oilers’ farmhand goalie Niko Hovinen off to Siberia
New spring menu at Earl’s features honkin’ big certified Alberta Angus steak
WHL commissioner Ron Robison discusses Winterhawks sanctions">3	4	5

		<a href="http://blogs.edmontonjournal.com/2013/05/06/" title="On ever-changing Barons blueline, Martin Marincin stands out as Edmonton Oilers top prospect
Nail Yakupov and Jonas Brodin snubbed in Calder Memorial voting
Edmonton Oilers’ rookie Nail Yakupov doesn’t make Calder finalist cut
Prices for Justin Timberlake in Edmonton?
No Nookie for you!
2013 CFL Draft tracker
Eskimos take DL Stefan Charles with 10th overall pick in CFL draft; trade Legare to Calgary
Fashion Star recap: Trending Now and Then (aka We’re Off To The Finals!)
Golden West rises: new music festival near Bonnyville
Edmonton Oilers prospect to have knee surgery
Album review: The Abramson Singers, Late Riser
Album review: Savages, Silence Yourself
Vancouver Canucks’ coach Alain Vigneault is excellent bench boss but may pay price for playoff ouster">6	<a href="http://blogs.edmontonjournal.com/2013/05/07/" title="Ales Hemsky is no slacker, no coward. He’s injured.
Reba to play Rexall Place
On concussions, head shots, changing NHL game, reminding people this is sport, not warfare
Anti-downtown arena activists want to invest $200 million-plus of public money into aging Rexall Place
2013 James Beard Foundation Awards winners announced
How does one medium/large onion translate into cups?
Is Colten Teubert in the Edmonton Oilers’ plans?
Who wins the Norris trophy as NHL’s best defenceman this year?
LawNow: Families in Flux
Poll: Will the arena deal live or die Wednesday?
The cold, hard numbers from the Edmonton Eskimos’ annual general meeting
The Evolution of Smartphones
Seth Jones, odds-on favourite to go No. 1 in NHL draft, is one cool customer
Taylor Hall makes the most of limited ice time, bags two goals as Canada thumps Norway 7-1
Vancouver Canucks should change gears and trade Cory Schneider not Roberto Luongo">7	<a href="http://blogs.edmontonjournal.com/2013/05/08/" title="Hockey analytics have arrived in the mainstream – and they aren’t leaving any time soon
Bannock Burger has left the building
Edmonton Oilers executive Scott Howson may have traded for the Vezina Trophy winner
Poul Mark comes into your kitchen to help you brew better
Former Eskimo Legare sees Pain and Gain after trade to Stamps; Esks release three
One way to solve Edmonton’s downtown arena problem? Katz pays now, but can win later
Will Columbus goalie Sergei Bobrovsky be the first Vezina winner from non-playoff team in over 80 years?
Oil Kings loose and ready for Game 4 of WHL final
Katz shouldn’t just pay $55 million, he should pay entire shot, Adler says
Shop your favourite fashion blogger’s wardrobe
Taste Alberta Tuesdays coming in June
The Ribbits do a man tutorial: the reboot
When will the Folk Fest announce its lineup?
Edmonton will house Canada’s senior women’s basketball team in 2013
What has happened to Pittsburgh Penguins goalie Marc-Andre Fleury?
Dave Nedohin joins Kevin Martin’s super team for run at Sochi Olympics
Rock Star Treatment at the Fairmont Jasper Park Lodge and Golf Club
Hockey Alberta delays introduction of body checking by two years, but fails to address a key issue">8	<a href="http://blogs.edmontonjournal.com/2013/05/09/" title="Will “hockey sense” be the watchword of the Edmonton Oilers under Craig MacTavish?
Lander, Hartikainen are taking another step towards making the Edmonton Oilers
Video: Half Moon Run’s Call Me in the Afternoon
The Great Gatsby movie is pointless but the book is ripe for re-imagining
Canadian Tire shares soar on news of REIT spinoff; Shawn Allen counts his winnings
Boston Bruins’ David Krejci has been unstoppable against Maple Leafs
MacEwan University joins Canada West
So, I went to Target …
Minnesota Wild will go with the hurt Josh Harding in net in game five against Chicago
Be a good kid: bring your mom to the theatre
The vote: Which municipalities were arena supporters at the capital region board?
Pickled cheese, Milanese police, night trains: Jessica Jalbert recounts her European adventures with Born Gold
Justin Schultz impresses in Canada’s 3-0 win over Sweden
MacEwan University president acknowledges ‘a 17-team league is just too big’ for Canada West">9	<a href="http://blogs.edmontonjournal.com/2013/05/10/" title="How much off-season improvement will be enough for the Edmonton Oilers?
Why I support Hockey Alberta’s ban on hitting in Peewee hockey
Making a Difference for Edmonton Mothers
No retreat, no surrender. True ring warriors never give up
Where’s Columbus goalie Sergei Bobrovsky or Chicago’s Jonathan Toews among NHL MVP finalists?
A myth for us haunted people: The Soul Collector from Catalyst
Bench Press: Red Horse/Black Horse
In All Honesty
Minimal nerves for Oil Kings ahead of win-or-go-home Game 5
Two more assists for Justin Schultz as Canada rides hot powerplay to 4-1 win over Belarus
Laura Crocker adds Erin Carmody to replace Sarah Wilkes on her Olympic pre-trials curling team">10	11	<a href="http://blogs.edmontonjournal.com/2013/05/12/" title="Bob Seger: May 11, Rexall Place. MGMT: May 11, Starlite Room.
Edmonton Oilers’ head scout Stu MacGregor on 2013 draft prospect Nicolas Petan
Edmonton’s Yellowhead Brewery picks up a bronze at Canadian Brewing Awards
Lindy Ruff sticks to his guns as stubborn Canadians hold off Czechs 2-1
Dallas Stars’ winger Loui Eriksson could be on move
Who’s playing goal for Canada in the Sochi Olympics?
Could Edmonton Oilers’ goalie Nikolai Khabibulin wind up in Columbus?">12

		<a href="http://blogs.edmontonjournal.com/2013/05/13/" title="Oilers prospect Mark Arcobello raisin’ hell from the slot in AHL playoffs
What happened to Corey Perry, Rick Nash and Tyler Seguin in the NHL playoffs?
Was Sunday’s loss to Detroit, Anaheim superstar Teemu Selanne’s last game?
Lan’s Asian Grill folk to launch a food truck called Swich
Does Edmonton Oilers’ general manager Craig MacTavish really appreciate the value of faceoffs?
Farmers’ markets busting out all over the city and province
Eskimos add a pair of Canadian players, release Delroy Clarke
Congratulations, Cassandra Hobbins!
Album review: 98 Degrees, 2.0
Celebrating the miles — and a music video — with The Maddigans
Taylor Hall demoted to fourth line as Canada struggles against relegated Slovenia
Just how “horse shit” is the NHL’s official plus-minus stat?
Boston Bruins’ Zdeno Chara is one of a kind">13	<a href="http://blogs.edmontonjournal.com/2013/05/14/" title="Does size win in the NHL playoffs?
City of Edmonton taking applications for its new food council
Letter: Region needs a single vision
The best before date on my cereal box was yesterday. Can I still eat the cereal today?
Who has the best goalie of the eight NHL teams left in Stanley Cup hunt?
Eskimos sign QB Jonathan Crompton
Anthem singers, also known as Hanson, will visit Sherwood Park
Come Home To Mama singer comes to Sherwood Park
Savour some Iron and Wine in September
No hurry for new NHL coaches in Dallas or Denver">14	<a href="http://blogs.edmontonjournal.com/2013/05/15/" title="The Edmonton Oilers were the second-smallest team in the West this season
Double the Justin Timberlake in Edmonton
Bergeron, Toews, Datsyuk Selke award finalists for top defensive forward
Enter a Facebook contest to win a basket of summer dining goodies
Alberta’s first Accessibility Forum breaks new digital ground
The Pittsburgh Penguins can win the Stanley Cup with Tomas Vokoun as their starting goaltender
Injection of more private money last piece of $480 million downtown Edmonton arena deal
This week in theatre: some thoughts and a mea culpa
Gogol Bordello: Aug. 12 at Union Hall.
Pinback: Aug. 28 at Starlite Room.
Fancy cars, fancy clothes
Check out this new website devoted to food and music by Calgary’s Julie Van Rosendaal
San Jose Sharks winger Raffi Torres is on a very hot seat once again
Edmonton Oilers owner Daryl Katz ecstatic (so far as we could tell) over finalized arena deal
Slow Food president John Schneider launches spring seeding near St. Albert
Why the Edmonton arena deal makes sense">15	<a href="http://blogs.edmontonjournal.com/2013/05/16/" title="Are the Edmonton Oilers in a sticky salary cap situation?
St. Louis, Kane and Moulson are NHL’s Lady Byng finalists
2o13.o5.14 ~ long live the new flesh
Do you need help with a provincial civil matter?
Christmas is coming! No, don’t hang up…
More details on Taste Alberta Tuesdays
Former Edmonton Oilers’ draft KO’s Canada at world championship
Receiver Manny Arceneaux reportedly close to CFL return
San Jose winger Raffi Torres suspended for rest of second round for head hit
Brendan Shanahan gets physics entirely wrong in explanation of Raffi Torres suspension
Fourth time unlucky for Jordan Eberle, Team Canada as they crash out in quarter final yet again
The saddest of sad news: we’ve lost Miss Smith">16	<a href="http://blogs.edmontonjournal.com/2013/05/17/" title="Should the Edmonton Oilers offer-sheet Vancouver Canucks defenceman Chris Tanev?
Paul MacLean, Joel Quenneville, Bruce Boudreau NHL coach-of-the-year finalists
Follow the Journal’s food tour to Italy
Beat This Summer with Brad Paisley at Rexall … in October
Arcobello, Rajala, Marincin shine, but Pitlick too, as OKC Barons coming on strong
Punch Buggy No Returns
Ex-Edmonton Oilers forward Patrick Thoresen wants to return to the NHL
Back to the drive-in: Back To The Future
When it comes to hard shots from the slot, Arcobello shines, Pitlick not bad either
Album review: Vampire Weekend, Modern Vampires of the City">17	18	19

		<a href="http://blogs.edmontonjournal.com/2013/05/20/" title="The Edmonton Oilers’ five-year plan, 2013 edition
His mission accomplished, Mandel is expected to retire on Tuesday
Don Cherry makes yet another asinine statement & other non-news on a holiday Monday
Rock ’n’ Roll Diary – Ray Manzarek, Monday, May 20, 2013
Staal sidelined for three months with knee injury suffered at world hockey championship
Bo Horvat may interest Edmonton Oilers at NHL entry draft
Dany Heatley a secondary player making first-line money with Minnesota Wild
Album review: The National, Trouble Will Find Me">20	<a href="http://blogs.edmontonjournal.com/2013/05/21/" title="First day in Parma. There’s a lot of cheese.
Sam Gagner: The more things change…
QOTSA: Aug. 7 at the Shaw Conference Centre
Shawn Horcoff’s play and his role have fallen off drastically in past two seasons
Who would you like to see as Edmonton’s next Mayor?
Red, white, yellow or sweet onions? Which one should I use?
The Quirks of Co-working
Four MMVA nods for Edmonton’s Mike Maxxis">21	<a href="http://blogs.edmontonjournal.com/2013/05/22/" title="What will the teams picking before the Edmonton Oilers at the 2013 NHL Draft do?
Jordan Eberle — If “regression” is the answer, what was the question?
Might hot shot Russian prospect Valeri Nichushkin still slide to Edmonton Oilers?
The Tax Implications of Marital Breakdown
Mike Gillis puts the “can” in “Canucks”, ties it to Alain Vigneault
Eskimos release Shawn Lemon, add a running back and one outstanding name
Volbeat: Sept. 10 at Rexall Place.">22	<a href="http://blogs.edmontonjournal.com/2013/05/23/" title="Ryan Nugent-Hopkins: a first-line centre for the Edmonton Oilers
Krueger gave the right amount of ice to most Oilers defencemen, but too much to Whitney
Five travel gadgets you won’t want to leave behind (with video)
The Edmonton Oilers lost the war in all three zones in 2013
Album review: Daft Punk, Random Access Memories
David Belke and the complex nature of the whimsical
The xx: May 22, 2013. Shaw Conference Centre.
Shrunken, mouldy and damp:  tasty morsels from Parma
Who were Edmonton’s greatest mayors – and why? A look back at a look back.
Photos: The xx in Edmonton
124th St. Grand Market reopens tonight
More photos: Mumford & Sons. May 22, 2013. Rexall Place.
Amazon Kindle Fire HD available in Canada
Samsung Galaxy S4 smartphone breaks record with 10 million sold in first month
Ralph Krueger did OK handling his centres, even Sam “Mr. Streaky” Gagner">23	<a href="http://blogs.edmontonjournal.com/2013/05/24/" title="Taylor Hall — Driving the bus at 21
Hey Ladies!!! The season finale is tonight
The Edmonton Oilers only have one puck possession line
Oilers look to sign Gagner long-term and say goodbye to Khabibulin
Wine may be big business in Italy, but balsamic vinegar is the passion
Farewell, Mandel
This year at the Kids’ Fest …,
Far more Oilers got worse than got better in Krueger’s first year as coach
The digital doctor is in, although Canada lags other countries in EMR adoption">24	25	26

		<a href="http://blogs.edmontonjournal.com/2013/05/27/" title="Two days of Sonic Boom with …
Fedun, Marincin and others can help MacTavish play his puck possession game
Bench Press: Texting with Telus
Should Craig MacTavish deep-six the bottom six?
Bissell Centre Innovating Again: Moonlight Bay Centre is Open for Business
Yegalicious: Energetic Action
Rajala, Arcobello and Hartikainen could bring real skill to Oilers fourth line.
From Umbria to Rome:  what a difference a day makes

Google Glass demo: Podcast">27	28	<a href="http://blogs.edmontonjournal.com/2013/05/29/" title="The Edmonton Oilers are picking just outside the top-tier of the 2013 NHL Draft
Nail Yakupov gave Oilers fans cause for celly during a memorable rookie season
Oilers farm club more of a real team without Hall, Schultz, Eberle and RNH
U.S. half-miler Nick Symmonds latest to confirm he’ll be at Foote Field for EITC
How much can my landlord charge for a security deposit?
It’s time to move Shawn Horcoff and Ales Hemsky, Hockey Night in Canada’s Craig Simpson says
Eskimos sign three before training camp opens
Boxer displays touch of class ahead of Friday fight card
Searching for the perfect bite in Rome">29	<a href="http://blogs.edmontonjournal.com/2013/05/30/" title="Magnus Paajarvi may have played his way into the Edmonton Oilers’ plans
Could Linus Omark return to the Edmonton Oilers?
Ed Hervey and Kavis Reed on race, football and Canada (not necessarily in that order)
Sunday Markets
Classified, Colin James will perform on new stage at K-Days
Edmonton Oilers sign defenceman Anton Belov
Eskimos sign most of their 2013 draft picks
Album review: Mikey Maybe’s Honey + Bread
Paul Maurice “reportedly” interviewed by Oilers for associate coaching position — Bob McKenzie
Choosing the right ereader for you: 6 Tips">30	<a href="http://blogs.edmontonjournal.com/2013/05/31/" title="Free agent goalie Antti Raanta expected to make decision on his future soon
New Jersey Devils working hard to re-sign David Clarkson
Eric Belanger’s struggles continued through a second poor year in Edmonton
Edmonton Oilers not likely to get an excellent player with 7th overall selection
Gigs: Loretta Lynn, Nana Mouskouri
Ex-capades: Getting real with Cadence Weapon
Capitol Couture, The Hunger Games’ fashion blog, is all sorts of cool
Hiring an associate coach on Edmonton Oilers’ radar
The Communication Shift
Yet another indie label discovers an Edmonton treasure: Travis Bretzer">31

<!DOCTYPE html>

	<title>Alain Vigneault canned by Canucks | Edmonton Journal</title>
	<meta name="application-name" content="Edmonton Journal" />
	<meta name="msapplication-tooltip" content="Edmonton Journal" />
	<meta charset="UTF-8" />
	<link rel="pingback" href="http://blogs.edmontonjournal.com/xmlrpc.php" />
	<link rel="profile" href="http://gmpg.org/xfn/11" />
	<link rel="stylesheet" type="text/css" media="screen" href="http://s0.wp.com/wp-content/themes/vip/postmediablogs/style.css?m=1367348449g" />

	<link rel="shortcut icon" href="http://s0.wp.com/wp-content/themes/vip/postmediablogs/property/edmontonjournal/favicon.ico?m=1359397814g" />

<meta name="description" content="The expected happened this afternoon when Vancouver Canucks GM Mike Gillis announced that coach Alain Vigneault and staff have been dismissed. Vigneault had a great run in Vancouver, winning the Jack Adams Award his first year behind the bench and setting a high standard that he maintained throug..." />
<meta name="keywords" content="cult of hockey, cult of hockey: on the nhl, alain vigneault, mike gillis, president's trophy, vancouver canucks" />
<meta name="google-site-verification" content="ltDHjjX2SiA-xn3YNzm50iPlJYwDQuRN8VpGocVEMEg" />

		<link rel="alternate" type="application/rss+xml" title="Edmonton Journal » Alain Vigneault canned by Canucks Comments Feed" href="http://blogs.edmontonjournal.com/2013/05/22/alain-vigneault-canned-by-canucks/feed/" />

<link rel='stylesheet' id='all-css-0' href='http://s2.wp.com/wp-content/mu-plugins/likes/jetpack-likes.css?m=1366743539g' type='text/css' media='all' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssglobalcss-css'  href='http://www.edmontonjournal.com/css/global.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssheadercss-css'  href='http://www.edmontonjournal.com/css/header.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssheader_navcss-css'  href='http://www.edmontonjournal.com/css/header_nav.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssgridcss-css'  href='http://www.edmontonjournal.com/css/grid.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssbrandingcss-css'  href='http://www.edmontonjournal.com/css/branding.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='httpwwwedmontonjournalcomcssfootercss-css'  href='http://www.edmontonjournal.com/css/footer.css?ver%5B0%5D=12.03.12' type='text/css' media='screen' />
<link rel='stylesheet' id='screen-css-12' href='http://s1.wp.com/_static/??-eJyVzMsNgzAMANCFKFZFVNpDxSwQLEgUfxQbULcvR64M8B4c+ojCjuzgKxIa7ElBxZxwTuNUZDHQKorVfxCFSBgsVkRuo1kD9wKcT+/CWbbKY7lMA32f3avvwjuET/4DpPQ5hQ==' type='text/css' media='screen' />
<link rel='stylesheet' id='all-css-12' href='http://s1.wp.com/_static/??/wp-content/mu-plugins/post-flair/style.css,/wp-content/themes/h4/global.css?m=1366212140j' type='text/css' media='all' />

<link rel='stylesheet' id='all-css-0' href='http://s1.wp.com/wp-content/mu-plugins/highlander-comments/style.css?m=1366210426g' type='text/css' media='all' />

<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://postmediaedmonton.wordpress.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://postmediaedmonton.wordpress.com/wp-includes/wlwmanifest.xml" />
<link rel='prev' title='The Tax Implications of Marital Breakdown' href='http://blogs.edmontonjournal.com/2013/05/22/the-tax-implications-of-marital-breakdown/' />
<link rel='next' title='Eskimos release Shawn Lemon, add a running back and one outstanding name' href='http://blogs.edmontonjournal.com/2013/05/22/eskimos-release-shawn-lemon-add-a-running-back-and-one-outstanding-name/' />
<meta name="generator" content="WordPress.com" />
<link rel='canonical' href='http://blogs.edmontonjournal.com/2013/05/22/alain-vigneault-canned-by-canucks/' />
<link rel='shortlink' href='http://wp.me/p1uRoG-HfP' />
<link rel="alternate" type="application/json+oembed" href="http://public-api.wordpress.com/oembed/1.0/?format=json&url=http%3A%2F%2Fblogs.edmontonjournal.com%2F2013%2F05%2F22%2Falain-vigneault-canned-by-canucks%2F&for=wpcom-auto-discovery" /><link rel="alternate" type="application/xml+oembed" href="http://public-api.wordpress.com/oembed/1.0/?format=xml&url=http%3A%2F%2Fblogs.edmontonjournal.com%2F2013%2F05%2F22%2Falain-vigneault-canned-by-canucks%2F&for=wpcom-auto-discovery" /><link rel='openid.server' href='http://postmediaedmonton.wordpress.com/?openidserver=1' />
<link rel='openid.delegate' href='http://postmediaedmonton.wordpress.com/' />
<link rel="search" type="application/opensearchdescription+xml" href="http://blogs.edmontonjournal.com/osd.xml" title="Edmonton Journal" />
<link rel="search" type="application/opensearchdescription+xml" href="http://wordpress.com/opensearch.xml" title="WordPress.com" />

		<meta property="fb:app_id" content="476107372414010"/>

		<meta name="application-name" content="Edmonton Journal" /><meta name="msapplication-window" content="width=device-width;height=device-height" /><meta name="msapplication-tooltip" content="Edmonton Journal Blogs" /><meta name="msapplication-task" content="name=Subscribe;action-uri=http://blogs.edmontonjournal.com/feed/;icon-uri=http://s2.wp.com/i/favicon.ico" />

Edmonton Journal>Blogs >Cult of Hockey Cult of Hockey RSS Feed

Alain Vigneault canned by Canucks

May 22, 2013. 1:27 pm • Section: Cult of Hockey, Cult of Hockey: On the NHL

NHL coaching is not so much a dog-eat-dog as a Shark-eat-Orca world. Alain Vigneault's final departure from behind the Vancouver Canucks' bench didn't get a whole lot of sympathy in the Shark Tank. (Photo: Christian Petersen/Getty Images North America)

Increase Font Size

Print Page

RSS Feed

Posted by:

										Bruce McCurdy

Recent Posts From This Author

Alain Vigneault canned by CanucksPosted on May 22, 2013

Jordan Eberle — If “regression” is the answer, what was the question?Posted on May 22, 2013

Don Cherry makes yet another asinine statement & other non-news on a holiday MondayPosted on May 20, 2013

Edmonton Oilers’ UFA targets: power forwards Brian Bickell and Viktor Stalberg of ChicagoPosted on May 18, 2013

The expected happened this afternoon when Vancouver Canucks GM Mike Gillis announced that coach Alain Vigneault and staff have been dismissed.

Vigneault had a great run in Vancouver, winning the Jack Adams Award his first year behind the bench and setting a high standard that he maintained throughout his stay in VanCity. “AV” coached the Canucks to six division titles in his seven years behind the bench, including the last five in a row. That regular-season success wasn’t just limited to the at-toimes feeble Northwest, as Vancouver won back-to-back Presidents’ Trophies in 2010-11 and 2011-12. In 540 games over seven years, Vigneault’s squad posted an impressive 313-170-57 record for a .632 points percentage over that extended tenure.

Alas, things didn’t go so well in the post-season, where Vigneault’s crew posted just a 33-35 record (.485) and a single Western Conference pennant in 2011. Despite persistent home ice advantage, AV’s crew won 6 series and lost 6 over 6 playoff years. For Mike Gillis that was the number of the beast, apparently, as he deemed it time for a fresh voice in the room. Who knows, maybe it is time, these things do seem to have cycles and best before dates, and judging by Vancouver’s rapid exits from the past two post-seasons, maybe the message was no longer seeping though.

Let’s just say that Gillis will be hard-pressed to find a better coach to replace Vigneault, who immediately goes on the short list of every team looking for a coach. Such is the nature of the coaching biz, whose motto is surely “hired to be fired”. Fortunately for proven career coaches like Alain Vigneault, the converse “fired to be re-hired” is a certain bet.

Vigneault has a deserved rep as an excellent defensive coach with a willingness to innovate. His experiments with Zone Starts are testament to that, as his extreme deployments of Henrik Sedin and Manny Malhotra set new benchmarks in that strategem.

One could argue that Gillis didn’t exactly deal him a fair hand in 2012-13 when he failed to resolve the goaltending issue, tying up nearly $10 MM in cap hit in the crease while ensuring ongoing discord and controversy. Meanwhile, the Canucks struggled to replace the retired Malhotra or the injured Ryan Kesler or the traded Cody Hodgson, leaving a hole in the donut on way too many lines on way too many nights. When your second highest scoring centre has 13 points, I’m not sure that’s on the coach. Nor is it the coach’s fault when his backup goalie makes double the money of his active #2-3-4 pivots combined.

Still, it’s axiomatic that the GM hires the coach and not the other way round, so no matter who is responsible, the axe is bound to fall on several coaches for every GM that gets the boot. Like so many GMs in so many cities, Gillis gets a do-over, even as his own performance comes increasingly under the microscope. (Zack Kassian? Really?)

More to come.

Tags:

alain vigneault,

Mike Gillis,

President's Trophy,

Vancouver Canucks

										Might hot shot Russian prospect Valeri Nichushkin still slide to Edmonton Oilers?Previous Cult of Hockey post

We encourage all readers to share their views on our articles and blog posts. We are committed to maintaining a lively but civil forum for discussion, so we ask you to avoid personal attacks, and please keep your comments relevant and respectful. If you encounter a comment that is abusive, click the “X” in the upper right corner of the comment box to report spam or abuse. We are using Facebook commenting. Visit our FAQ page for more information.

Cult of Hockey Blog Sections

Cult of Hockey: On the NHLLast post May 22, 2013

OilersLast post May 22, 2013

 Blog Sections

BusinessLast post May 21, 2013

CommunityLast post May 22, 2013

Cult of HockeyLast post May 22, 2013

Edmonton CommonsLast post May 21, 2013

EntertainmentLast post May 21, 2013

LifeLast post May 21, 2013

NewsLast post May 9, 2013

Oil SpillsLast post May 15, 2013

SportsLast post May 22, 2013

Recent Contributors

Chris O'Leary151 total posts.Last Post: May 22, 2013

Bruce McCurdy877 total posts.Last Post: May 22, 2013

Centre for Public Legal Education Alberta185 total posts.Last Post: May 22, 2013

David Staples2629 total posts.Last Post: May 22, 2013

Jonathan Willis757 total posts.Last Post: May 22, 2013

Sandra Sperounes2826 total posts.Last Post: May 21, 2013

digitalalberta29 total posts.Last Post: May 21, 2013

ATCO Blue Flame Kitchen6 total posts.Last Post: May 21, 2013

Search

<form method="get" id="searchform" action="http://blogs.edmontonjournal.com/">

		<input type="text" class="inputbox" value="" name="s" />
		search

</form>

Cult of Hockey Blogroll

2013 Oilers even strength scoring chances +/-

2013 Oilers game by game scoring chances

2013 Oilers game grades

2013 Oilers numbers at BehindtheNet.ca

2013 Oilers scoring chances per game/conversions %

2013 Oilers scoring chances special teams

2013 Oilers TV broadcasts

2013 Oilers vs opposition scoring chances

2013 Oilers Zone Exits

2013 Shift charts for games

2013 team shooting and PDO numbers

2013 team shot metrics Behind the Net

2103 Oilers Time on Ice NHL.com

All Oiler drafts 1979-present

All Oilers trades, 1979-to-present

Archive 1997-2012 Oilers franchise valuations (Forbes)

Archive 2007-08 Oilers Neilson goals

Archive 2008-09 Oilers goals +/-

Archive 2009-10 Oilers goals +/-

Archive 2010-11 Oilers scoring chances

Archive 2011-12 Oilers scoring chances

Archive 2012-13 OKC scoring chances

Archive Historical scoring chances data, Stanley Cups info, blogs

Archive: 5 year study on NHL's plus-minus stat

Archive: F.A.Q. What is scoring chances data?

Black Dog Hates Skunks

Coming Down The Pipe

Hockey Analytics

Hockey Summary Project

Hockey Zen

Jean Shorts And Bagged Milk

Loud Mouth Hemsky Fan

Lowetide

MC79

Nice Time on Ice

Oil On Whyte

Oiler Spill

Oilers — Capgeek

Oilers — most common linemates

Oilers — player usage chart

Oilers — roster

Oilers — Sporting Charts stats on team/players

Oilers injury bios — Hockey News

Oilers Jambalaya

Oilers Nation

Oilers Republic

Oilogosphere feed to Oilers blogs

Polljunkie.com

Putting On The Foil

Sabremetric Research

Swedish Oil

The 10 best and 10 worst Oilers draft picks

The Copper & Blue

Recent  Posts

Eskimos release Shawn Lemon, add a running back and one outstanding namePosted on May 22, 2013

Alain Vigneault canned by CanucksPosted on May 22, 2013

The Tax Implications of Marital BreakdownPosted on May 22, 2013

Might hot shot Russian prospect Valeri Nichushkin still slide to Edmonton Oilers?Posted on May 22, 2013

Jordan Eberle — If “regression” is the answer, what was the question?Posted on May 22, 2013

May 2013

		M
		T
		W
		T
		F
		S
		S

		« Apr

		 	<a href="http://blogs.edmontonjournal.com/2013/05/01/" title="Should the Edmonton Oilers sign Kyle Bigos?
Final marks for Oilers d-men: J. Schultz > Smid = Potter > Petry = N. Schultz > Fistric >> Whitney
Tickets for Slow Food’s Indulgence 13 on sale today
Slow Food Edmonton presents Beer and Berkshire on May 26
CFL adds a seventh round to Monday’s draft
Gigs: Gold & Youth, Leeroy Stagger, The Maddigans, The Slackers, The Besnard Lakes, Big Country, Rancid, Run The Jewels and more
Los Angeles Kings winger Dustin Penner was force in Game 1 playoff loss
Play Slam, the hand-to-hand combat for playwrights
Narayanni’s expands its vegan buffet nights
Edmonton Oilers GM Craig MacTavish scouting role players in the playoffs
Video: Austra’s Home">1	<a href="http://blogs.edmontonjournal.com/2013/05/02/" title="Should the Edmonton Oilers trade their first round pick in the 2013 NHL Draft?
Guerilla raspberry project in the works
The Soul Collector: Catalyst goes sledding
Happy Birthday Roots On Whyte
CineCoup announces Top 15 film projects
2013 WHL bantam draft tracker
AUDIO: Eskimos general manager Ed Hervey discusses Monday’s CFL Draft and receivers Marcus Henry and Adarius Bowman
Weekend gigs: Karla Adolphe, Lindsey Walker
More opinions from Kevin O’Leary, the man (some) Canadians love to hate
Yvan Chartrand of Tree Stone Bakery offers a charity baking class
This Weekend Is a Mix of Sun, Snow, and Golf in the Canadian Rockies
CIBC: Poloz appointment shows BOC will have closer ties to private sector
Detroit Red Wings reaching into vault for Todd Bertuzzi in uphill battle against Anaheim Ducks
Edmonton downtown arena deal is on ice — but rightly so
Do the Edmonton Oilers go in another direction in goal or should they bring Nikolai Khabibulin back?
Figure skating needs CPR
Reader poll — Should Eric Gryba be suspended for his hit on Lars Eller?">2	<a href="http://blogs.edmontonjournal.com/2013/05/03/" title="Jonathan Drouin: Statistically, the best draft-eligible QMJHL forward since Sidney Crosby
Passion for Pork hosts a Swine and Dine night at St. Albert’s The River House
The Butterdome Spring Craft Sale is this weekend
You Tweet? We Tweet!
Gigantour: July 26 at Rexall Place
Tracking Oilers, prospects: With NHL playoffs still a pipe dream, young Oil face tests elsewhere
Oil Kings hope to end 0-20 run on power play in Game 1 of WHL Final
Return of the Mac
Check out La Crema Caffe in St. Albert for gluten-free options
WHL championship redux – a look back at 2012′s Oil Kings-Winterhawks final series
Shout out to chef Vinod Varshney of NAIT for joining food bank fundraiser
Brendan Shanahan did what he had to do suspending Ottawa’s Eric Gryba for smack-down on Lars Eller
Edmonton Oilers’ farmhand goalie Niko Hovinen off to Siberia
New spring menu at Earl’s features honkin’ big certified Alberta Angus steak
WHL commissioner Ron Robison discusses Winterhawks sanctions">3	4	5

		<a href="http://blogs.edmontonjournal.com/2013/05/06/" title="On ever-changing Barons blueline, Martin Marincin stands out as Edmonton Oilers top prospect
Nail Yakupov and Jonas Brodin snubbed in Calder Memorial voting
Edmonton Oilers’ rookie Nail Yakupov doesn’t make Calder finalist cut
Prices for Justin Timberlake in Edmonton?
No Nookie for you!
2013 CFL Draft tracker
Eskimos take DL Stefan Charles with 10th overall pick in CFL draft; trade Legare to Calgary
Fashion Star recap: Trending Now and Then (aka We’re Off To The Finals!)
Golden West rises: new music festival near Bonnyville
Edmonton Oilers prospect to have knee surgery
Album review: The Abramson Singers, Late Riser
Album review: Savages, Silence Yourself
Vancouver Canucks’ coach Alain Vigneault is excellent bench boss but may pay price for playoff ouster">6	<a href="http://blogs.edmontonjournal.com/2013/05/07/" title="Ales Hemsky is no slacker, no coward. He’s injured.
Reba to play Rexall Place
On concussions, head shots, changing NHL game, reminding people this is sport, not warfare
Anti-downtown arena activists want to invest $200 million-plus of public money into aging Rexall Place
2013 James Beard Foundation Awards winners announced
How does one medium/large onion translate into cups?
Is Colten Teubert in the Edmonton Oilers’ plans?
Who wins the Norris trophy as NHL’s best defenceman this year?
LawNow: Families in Flux
Poll: Will the arena deal live or die Wednesday?
The cold, hard numbers from the Edmonton Eskimos’ annual general meeting
The Evolution of Smartphones
Seth Jones, odds-on favourite to go No. 1 in NHL draft, is one cool customer
Taylor Hall makes the most of limited ice time, bags two goals as Canada thumps Norway 7-1
Vancouver Canucks should change gears and trade Cory Schneider not Roberto Luongo">7	<a href="http://blogs.edmontonjournal.com/2013/05/08/" title="Hockey analytics have arrived in the mainstream – and they aren’t leaving any time soon
Bannock Burger has left the building
Edmonton Oilers executive Scott Howson may have traded for the Vezina Trophy winner
Poul Mark comes into your kitchen to help you brew better
Former Eskimo Legare sees Pain and Gain after trade to Stamps; Esks release three
One way to solve Edmonton’s downtown arena problem? Katz pays now, but can win later
Will Columbus goalie Sergei Bobrovsky be the first Vezina winner from non-playoff team in over 80 years?
Oil Kings loose and ready for Game 4 of WHL final
Katz shouldn’t just pay $55 million, he should pay entire shot, Adler says
Shop your favourite fashion blogger’s wardrobe
Taste Alberta Tuesdays coming in June
The Ribbits do a man tutorial: the reboot
When will the Folk Fest announce its lineup?
Edmonton will house Canada’s senior women’s basketball team in 2013
What has happened to Pittsburgh Penguins goalie Marc-Andre Fleury?
Dave Nedohin joins Kevin Martin’s super team for run at Sochi Olympics
Rock Star Treatment at the Fairmont Jasper Park Lodge and Golf Club
Hockey Alberta delays introduction of body checking by two years, but fails to address a key issue">8	<a href="http://blogs.edmontonjournal.com/2013/05/09/" title="Will “hockey sense” be the watchword of the Edmonton Oilers under Craig MacTavish?
Lander, Hartikainen are taking another step towards making the Edmonton Oilers
Video: Half Moon Run’s Call Me in the Afternoon
The Great Gatsby movie is pointless but the book is ripe for re-imagining
Canadian Tire shares soar on news of REIT spinoff; Shawn Allen counts his winnings
Boston Bruins’ David Krejci has been unstoppable against Maple Leafs
MacEwan University joins Canada West
So, I went to Target …
Minnesota Wild will go with the hurt Josh Harding in net in game five against Chicago
Be a good kid: bring your mom to the theatre
The vote: Which municipalities were arena supporters at the capital region board?
Pickled cheese, Milanese police, night trains: Jessica Jalbert recounts her European adventures with Born Gold
Justin Schultz impresses in Canada’s 3-0 win over Sweden
MacEwan University president acknowledges ‘a 17-team league is just too big’ for Canada West">9	<a href="http://blogs.edmontonjournal.com/2013/05/10/" title="How much off-season improvement will be enough for the Edmonton Oilers?
Why I support Hockey Alberta’s ban on hitting in Peewee hockey
Making a Difference for Edmonton Mothers
No retreat, no surrender. True ring warriors never give up
Where’s Columbus goalie Sergei Bobrovsky or Chicago’s Jonathan Toews among NHL MVP finalists?
A myth for us haunted people: The Soul Collector from Catalyst
Bench Press: Red Horse/Black Horse
In All Honesty
Minimal nerves for Oil Kings ahead of win-or-go-home Game 5
Two more assists for Justin Schultz as Canada rides hot powerplay to 4-1 win over Belarus
Laura Crocker adds Erin Carmody to replace Sarah Wilkes on her Olympic pre-trials curling team">10	11	<a href="http://blogs.edmontonjournal.com/2013/05/12/" title="Bob Seger: May 11, Rexall Place. MGMT: May 11, Starlite Room.
Edmonton Oilers’ head scout Stu MacGregor on 2013 draft prospect Nicolas Petan
Edmonton’s Yellowhead Brewery picks up a bronze at Canadian Brewing Awards
Lindy Ruff sticks to his guns as stubborn Canadians hold off Czechs 2-1
Dallas Stars’ winger Loui Eriksson could be on move
Who’s playing goal for Canada in the Sochi Olympics?
Could Edmonton Oilers’ goalie Nikolai Khabibulin wind up in Columbus?">12

		<a href="http://blogs.edmontonjournal.com/2013/05/13/" title="Oilers prospect Mark Arcobello raisin’ hell from the slot in AHL playoffs
What happened to Corey Perry, Rick Nash and Tyler Seguin in the NHL playoffs?
Was Sunday’s loss to Detroit, Anaheim superstar Teemu Selanne’s last game?
Lan’s Asian Grill folk to launch a food truck called Swich
Does Edmonton Oilers’ general manager Craig MacTavish really appreciate the value of faceoffs?
Farmers’ markets busting out all over the city and province
Eskimos add a pair of Canadian players, release Delroy Clarke
Congratulations, Cassandra Hobbins!
Album review: 98 Degrees, 2.0
Celebrating the miles — and a music video — with The Maddigans
Taylor Hall demoted to fourth line as Canada struggles against relegated Slovenia
Just how “horse shit” is the NHL’s official plus-minus stat?
Boston Bruins’ Zdeno Chara is one of a kind">13	<a href="http://blogs.edmontonjournal.com/2013/05/14/" title="Does size win in the NHL playoffs?
City of Edmonton taking applications for its new food council
Letter: Region needs a single vision
The best before date on my cereal box was yesterday. Can I still eat the cereal today?
Who has the best goalie of the eight NHL teams left in Stanley Cup hunt?
Eskimos sign QB Jonathan Crompton
Anthem singers, also known as Hanson, will visit Sherwood Park
Come Home To Mama singer comes to Sherwood Park
Savour some Iron and Wine in September
No hurry for new NHL coaches in Dallas or Denver">14	<a href="http://blogs.edmontonjournal.com/2013/05/15/" title="The Edmonton Oilers were the second-smallest team in the West this season
Double the Justin Timberlake in Edmonton
Bergeron, Toews, Datsyuk Selke award finalists for top defensive forward
Enter a Facebook contest to win a basket of summer dining goodies
Alberta’s first Accessibility Forum breaks new digital ground
The Pittsburgh Penguins can win the Stanley Cup with Tomas Vokoun as their starting goaltender
Injection of more private money last piece of $480 million downtown Edmonton arena deal
This week in theatre: some thoughts and a mea culpa
Gogol Bordello: Aug. 12 at Union Hall.
Pinback: Aug. 28 at Starlite Room.
Fancy cars, fancy clothes
Check out this new website devoted to food and music by Calgary’s Julie Van Rosendaal
San Jose Sharks winger Raffi Torres is on a very hot seat once again
Edmonton Oilers owner Daryl Katz ecstatic (so far as we could tell) over finalized arena deal
Slow Food president John Schneider launches spring seeding near St. Albert
Why the Edmonton arena deal makes sense">15	<a href="http://blogs.edmontonjournal.com/2013/05/16/" title="Are the Edmonton Oilers in a sticky salary cap situation?
St. Louis, Kane and Moulson are NHL’s Lady Byng finalists
2o13.o5.14 ~ long live the new flesh
Do you need help with a provincial civil matter?
Christmas is coming! No, don’t hang up…
More details on Taste Alberta Tuesdays
Former Edmonton Oilers’ draft KO’s Canada at world championship
Receiver Manny Arceneaux reportedly close to CFL return
San Jose winger Raffi Torres suspended for rest of second round for head hit
Brendan Shanahan gets physics entirely wrong in explanation of Raffi Torres suspension
Fourth time unlucky for Jordan Eberle, Team Canada as they crash out in quarter final yet again
The saddest of sad news: we’ve lost Miss Smith">16	<a href="http://blogs.edmontonjournal.com/2013/05/17/" title="Should the Edmonton Oilers offer-sheet Vancouver Canucks defenceman Chris Tanev?
Paul MacLean, Joel Quenneville, Bruce Boudreau NHL coach-of-the-year finalists
Follow the Journal’s food tour to Italy
Beat This Summer with Brad Paisley at Rexall … in October
Arcobello, Rajala, Marincin shine, but Pitlick too, as OKC Barons coming on strong
Punch Buggy No Returns
Ex-Edmonton Oilers forward Patrick Thoresen wants to return to the NHL
Back to the drive-in: Back To The Future
When it comes to hard shots from the slot, Arcobello shines, Pitlick not bad either
Album review: Vampire Weekend, Modern Vampires of the City">17	18	19

		<a href="http://blogs.edmontonjournal.com/2013/05/20/" title="The Edmonton Oilers’ five-year plan, 2013 edition
His mission accomplished, Mandel is expected to retire on Tuesday
Don Cherry makes yet another asinine statement & other non-news on a holiday Monday
Rock ’n’ Roll Diary – Ray Manzarek, Monday, May 20, 2013
Staal sidelined for three months with knee injury suffered at world hockey championship
Bo Horvat may interest Edmonton Oilers at NHL entry draft
Dany Heatley a secondary player making first-line money with Minnesota Wild
Album review: The National, Trouble Will Find Me">20	<a href="http://blogs.edmontonjournal.com/2013/05/21/" title="First day in Parma. There’s a lot of cheese.
Sam Gagner: The more things change…
QOTSA: Aug. 7 at the Shaw Conference Centre
Shawn Horcoff’s play and his role have fallen off drastically in past two seasons
Who would you like to see as Edmonton’s next Mayor?
Red, white, yellow or sweet onions? Which one should I use?
The Quirks of Co-working
Four MMVA nods for Edmonton’s Mike Maxxis">21	22	23	24	25	26

		27	28	29	30	31


Adds basic security headers to nginx config

# NGINX configuration for playarchipelago.com.
#
# Listens for requests made to https://playarchipelago.com, serving
# static files from  the archipelago/web dir and forwards requests
# to /ws to the archipelago server.
#

# Cache map for different file types, see:
# https://www.digitalocean.com/community/tutorials/how-to-implement-browser-caching-with-nginx-s-header-module-on-centos-7
map $sent_http_content_type $expires {
	default                    off;
	text/html                  epoch;
	text/css                   max;
	application/javascript     max;
	~image/                    max;
}

# Redirect http:// -> https://
server {
	listen 80;
	listen [::]:80;
	server_name www.playarchipelago.com playarchipelago.com;
	return 301 https://playarchipelago.com$request_uri;
}

# Redirect https://www.playarchipelago.com -> https://playarchipelago.com
server {
	listen 443 ssl http2;
	listen [::]:443 ssl http2;
	server_name www.playarchipelago.com;
	ssl_certificate /etc/letsencrypt/live/playarchipelago.com/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/playarchipelago.com/privkey.pem;
	return 301 https://playarchipelago.com$request_uri;
}

# Primary, https://playarchipelago.com
server {
	listen 443 ssl http2;
	listen [::]:443 ssl http2;
	server_name playarchipelago.com;
	ssl_certificate /etc/letsencrypt/live/playarchipelago.com/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/playarchipelago.com/privkey.pem;

	access_log /var/log/playarchipelago.com/nginx.access.log;
	error_log  /var/log/playarchipelago.com/nginx.error.log;

	root /home/deploy/go/src/github.com/verath/archipelago/web/dist;
	index index.html;

	# Basic security headers
	add_header X-Frame-Options SAMEORIGIN;
	add_header X-Content-Type-Options nosniff;
	add_header X-XSS-Protection "1; mode=block";

	# Serve "/.well-known/acme-challenge" from a separate directory
	# this directory is used by let's encrypt to validate ownership
	location ^~ /.well-known/acme-challenge/ {
		root /var/www/letsencrypt/playarchipelago.com;
		try_files $uri $uri/ =404;
	}

	# Proxy requests for /ws to the archipelago server on :8080
	location /ws {
		proxy_set_header X-Real-IP  $remote_addr;
		proxy_set_header X-Forwarded-For $remote_addr;
		proxy_set_header Host $host;
		proxy_pass http://localhost:8080;
		# Websockets
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection "upgrade";
	}

	# Never cache the service worker file
	location = /sw.js {
		expires off;
	}

	# All other requests are served from the web folder
	location / {
		try_files $uri $uri/ index.html;
		expires $expires;
	}

	# Deny access to .-files
	location ~ /\. {
		return 403;
	}
}

# NGINX configuration for playarchipelago.com.
#
# Listens for requests made to https://playarchipelago.com, serving
# static files from  the archipelago/web dir and forwards requests
# to /ws to the archipelago server.
#

# Cache map for different file types, see:
# https://www.digitalocean.com/community/tutorials/how-to-implement-browser-caching-with-nginx-s-header-module-on-centos-7
map $sent_http_content_type $expires {
	default                    off;
	text/html                  epoch;
	text/css                   max;
	application/javascript     max;
	~image/                    max;
}

# Redirect http:// -> https://
server {
	listen 80;
	listen [::]:80;
	server_name www.playarchipelago.com playarchipelago.com;
	return 301 https://playarchipelago.com$request_uri;
}

# Redirect https://www.playarchipelago.com -> https://playarchipelago.com
server {
	listen 443 ssl http2;
	listen [::]:443 ssl http2;
	server_name www.playarchipelago.com;
	ssl_certificate /etc/letsencrypt/live/playarchipelago.com/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/playarchipelago.com/privkey.pem;
	return 301 https://playarchipelago.com$request_uri;
}

# Primary, https://playarchipelago.com
server {
	listen 443 ssl http2;
	listen [::]:443 ssl http2;
	server_name playarchipelago.com;
	ssl_certificate /etc/letsencrypt/live/playarchipelago.com/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/playarchipelago.com/privkey.pem;

	access_log /var/log/playarchipelago.com/nginx.access.log;
	error_log  /var/log/playarchipelago.com/nginx.error.log;

	root /home/deploy/go/src/github.com/verath/archipelago/web/dist;
	index index.html;

	# Serve "/.well-known/acme-challenge" from a separate directory
	# this directory is used by let's encrypt to validate ownership
	location ^~ /.well-known/acme-challenge/ {
		root /var/www/letsencrypt/playarchipelago.com;
		try_files $uri $uri/ =404;
	}

	# Proxy requests for /ws to the archipelago server on :8080
	location /ws {
		proxy_set_header X-Real-IP  $remote_addr;
		proxy_set_header X-Forwarded-For $remote_addr;
		proxy_set_header Host $host;
		proxy_pass http://localhost:8080;
		# Websockets
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection "upgrade";
	}

	# Never cache the service worker file
	location = /sw.js {
		expires off;
	}

	# All other requests are served from the web folder
	location / {
		try_files $uri $uri/ index.html;
		expires $expires;
	}

	# Deny access to .-files
	location ~ /\. {
		return 403;
	}
}


This closes #2.

This closes #2.

# www to non-www redirect -- duplicate content is BAD:
# https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362
# Choose between www and non-www, listen on the *wrong* one and redirect to
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name

# Page caching
fastcgi_cache_path /srv/www/EXAMPLE.COM/cache levels=1:2 keys_zone=EXAMPLE_CACHE:100m inactive=60m;

server {
  # don't forget to tell on which port this server listens
  listen [::]:80;
  listen 80;

  # listen on the www host
  server_name www.EXAMPLE.COM;

  # and redirect to the non-www host (declared below)
  return 301 $scheme://EXAMPLE.COM$request_uri;
}

server {
  # Site level settings for fastcgi cache
  fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;

  ###################################################
  # Settings to turn on pagespeed and fastcgi cache #
  ###################################################

  # Pagespeed (on/off)
  set $pagespeed_status off

  # Skip fastcgi caching (1/0)
  # 0 = cache is active, 1= cache is set off
  set $skip_cache 0;

  ###################################################

  # listen [::]:80 accept_filter=httpready; # for FreeBSD
  # listen 80 accept_filter=httpready; # for FreeBSD
  # listen [::]:80 deferred; # for Linux
  # listen 80 deferred; # for Linux
  listen [::]:80;
  listen 80;

  # The host name to respond to
  server_name EXAMPLE.COM;

  # Path for static files
  root /srv/www/EXAMPLE.COM/public;

  # Index files
  index index.html index.php;

  # Custom log locations. Enable if needed.
  #error_log  /srv/www/EXAMPLE.COM/logs/error.log warn;
  #access_log /srv/www/EXAMPLE.COM/logs/access.log main;

  #Specify a charset
  charset utf-8;

  # Custom 404 page
  error_page 404 /404.html;

  # Redirects for WP sitemaps
  include global/yoast-wordpress-seo.conf;

  # Include global restrictions
  include global/restrictions.conf;

  # Include the basic h5bp config set
  include h5bp/basic.conf;

  # Include page caching exclude configuration.
  include global/cache-exclude.conf;

  location ~ /purge(/.*) {
    fastcgi_cache_purge EXAMPLE_CACHE "$scheme$request_method$host$1";
  }

  # Require authentication to access the directory. If you are using this you must
  # disable the global wordpress confs.
  #location / {
  # auth_basic "Login required";
  # auth_basic_user_file /srv/www/EXAMPLE.COM/htpasswd;
  #}

  # Pagespeed
  pagespeed $pagespeed_status;

  # Enable configuration level
  pagespeed RewriteLevel CoreFilters;

  # Enabled extra rules
  pagespeed EnableFilters collapse_whitespace,insert_dns_prefetch,prioritize_critical_css;

  # Needs to exist and be writable by nginx.  Use tmpfs for best performance.
  pagespeed FileCachePath /var/ngx_pagespeed_cache/EXAMPLE.COM;

  # Needed for WPML directory test to pass
  pagespeed Disallow "*icl_validate_domain=1*";

  # Ensure requests for pagespeed optimized resources go to the pagespeed handler
  # and no extraneous headers get set.
  location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
    add_header "" "";
  }
  location ~ "^/pagespeed_static/" { }
  location ~ "^/ngx_pagespeed_beacon$" { }

  # Only include one of the files below.
  include global/wordpress.conf;
  #include global/wordpress-ms-subdir.conf;

  # Pass all .php files onto a php-fpm/php-fcgi server.
  location ~ [^/]\.php(/|$) {
  	fastcgi_split_path_info ^(.+?\.php)(/.*)$;
  	if (!-f $document_root$fastcgi_script_name) {
  		return 404;
  	}
  	# This is a robust solution for path info security issue and works with "cgi.fix_pathinfo = 1" in /etc/php.ini (default)

  	include fastcgi.conf;
  	fastcgi_index index.php;
  	#fastcgi_intercept_errors on;
  	fastcgi_pass 127.0.0.1:9000;

  	fastcgi_cache_bypass $skip_cache;
  	fastcgi_no_cache $skip_cache;
  	fastcgi_cache EXAMPLE_CACHE;
  	fastcgi_cache_valid 60m;
  }
}

# www to non-www redirect -- duplicate content is BAD:
# https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362
# Choose between www and non-www, listen on the *wrong* one and redirect to
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name

# Page caching
fastcgi_cache_path /srv/www/EXAMPLE.COM/cache levels=1:2 keys_zone=EXAMPLE_CACHE:100m inactive=60m;

server {
  # don't forget to tell on which port this server listens
  listen [::]:80;
  listen 80;

  # listen on the www host
  server_name www.EXAMPLE.COM;

  # and redirect to the non-www host (declared below)
  return 301 $scheme://EXAMPLE.COM$request_uri;
}

server {
  # Site level settings for fastcgi cache
  fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;

  ###################################################
  # Settings to turn on pagespeed and fastcgi cache #
  ###################################################

  # Pagespeed (on/off)
  set $pagespeed_status off

  # Skip fastcgi caching (1/0)
  # 0 = cache is active, 1= cache is set off
  set $skip_cache 0;

  ###################################################

  # listen [::]:80 accept_filter=httpready; # for FreeBSD
  # listen 80 accept_filter=httpready; # for FreeBSD
  # listen [::]:80 deferred; # for Linux
  # listen 80 deferred; # for Linux
  listen [::]:80;
  listen 80;

  # The host name to respond to
  server_name EXAMPLE.COM;

  # Path for static files
  root /srv/www/EXAMPLE.COM/public;

  # Index files
  index index.html index.php;

  # Custom log locations
  error_log  /srv/www/EXAMPLE.COM/logs/error.log warn;
  access_log /srv/www/EXAMPLE.COM/logs/access.log main;

  #Specify a charset
  charset utf-8;

  # Custom 404 page
  error_page 404 /404.html;

  # Redirects for WP sitemaps
  include global/yoast-wordpress-seo.conf;

  # Include global restrictions
  include global/restrictions.conf;

  # Include the basic h5bp config set
  include h5bp/basic.conf;

  # Include page caching exclude configuration.
  include global/cache-exclude.conf;

  location ~ /purge(/.*) {
    fastcgi_cache_purge EXAMPLE_CACHE "$scheme$request_method$host$1";
  }

  # Require authentication to access the directory. If you are using this you must
  # disable the global wordpress confs.
  #location / {
  # auth_basic "Login required";
  # auth_basic_user_file /srv/www/EXAMPLE.COM/htpasswd;
  #}

  # Pagespeed
  pagespeed $pagespeed_status;

  # Enable configuration level
  pagespeed RewriteLevel CoreFilters;

  # Enabled extra rules
  pagespeed EnableFilters collapse_whitespace,insert_dns_prefetch,prioritize_critical_css;

  # Needs to exist and be writable by nginx.  Use tmpfs for best performance.
  pagespeed FileCachePath /var/ngx_pagespeed_cache/EXAMPLE.COM;

  # Needed for WPML directory test to pass
  pagespeed Disallow "*icl_validate_domain=1*";

  # Ensure requests for pagespeed optimized resources go to the pagespeed handler
  # and no extraneous headers get set.
  location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
    add_header "" "";
  }
  location ~ "^/pagespeed_static/" { }
  location ~ "^/ngx_pagespeed_beacon$" { }

  # Only include one of the files below.
  include global/wordpress.conf;
  #include global/wordpress-ms-subdir.conf;

  # Pass all .php files onto a php-fpm/php-fcgi server.
  location ~ [^/]\.php(/|$) {
  	fastcgi_split_path_info ^(.+?\.php)(/.*)$;
  	if (!-f $document_root$fastcgi_script_name) {
  		return 404;
  	}
  	# This is a robust solution for path info security issue and works with "cgi.fix_pathinfo = 1" in /etc/php.ini (default)

  	include fastcgi.conf;
  	fastcgi_index index.php;
  	#fastcgi_intercept_errors on;
  	fastcgi_pass 127.0.0.1:9000;

  	fastcgi_cache_bypass $skip_cache;
  	fastcgi_no_cache $skip_cache;
  	fastcgi_cache EXAMPLE_CACHE;
  	fastcgi_cache_valid 60m;
  }
}


Change proxy from https to http

Change proxy from https to http

server {
        listen 80 default_server;
        listen [::]:80 default_server ipv6only=on;

        root /usr/share/nginx/html;
        index index.html index.htm;

        # Make site accessible from http://localhost/
        server_name localhost,test.justindirose.com;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }
        location /hubhook {
                proxy_pass http://dockerhost:3000;
        }
}

server {
        listen 80 default_server;
        listen [::]:80 default_server ipv6only=on;

        root /usr/share/nginx/html;
        index index.html index.htm;

        # Make site accessible from http://localhost/
        server_name localhost,test.justindirose.com;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ /index.html;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }
        location /hubhook {
                proxy_pass https://dockerhost:3000;
        }
}


host_vars removed

host_vars removed

---
source_location: /tmp/source
source_location_auto_remove: true


Closes #11

Closes #11

# www to non-www redirect -- duplicate content is BAD:
# https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362
# Choose between www and non-www, listen on the *wrong* one and redirect to
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name

# Page caching
fastcgi_cache_path /srv/www/EXAMPLE.COM/cache levels=1:2 keys_zone=EXAMPLE.COM:100m inactive=60m;

server {
  # don't forget to tell on which port this server listens
  listen [::]:80;
  listen 80;

  # listen on the www host
  server_name www.EXAMPLE.COM;

  # and redirect to the non-www host (declared below)
  return 301 $scheme://EXAMPLE.COM$request_uri;
}

server {
  # Site level settings for fastcgi cache
  fastcgi_cache_lock on;
  fastcgi_cache_lock_age 3s;
  fastcgi_cache_lock_timeout 3s;
  fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;

  ###################################################
  # Settings to turn on pagespeed and fastcgi cache #
  ###################################################

  # Pagespeed (on/off)
  pagespeed off;

  # Skip fastcgi caching (1/0)
  # 0 = cache is active, 1= cache is set off
  set $skip_cache 0;

  ###################################################

  # listen [::]:80 accept_filter=httpready; # for FreeBSD
  # listen 80 accept_filter=httpready; # for FreeBSD
  # listen [::]:80 deferred; # for Linux
  # listen 80 deferred; # for Linux
  listen [::]:80;
  listen 80;

  # Limit connections per IP (to this host).
  limit_conn conn_per_ip 32;

  # The host name to respond to
  server_name EXAMPLE.COM;

  # Path for static files
  root /srv/www/EXAMPLE.COM/public;

  # Index files
  index index.html index.php;

  # Custom log locations. Enable if needed.
  #error_log  /srv/www/EXAMPLE.COM/logs/error.log warn;
  #access_log /srv/www/EXAMPLE.COM/logs/access.log main;

  # Specify a charset
  charset utf-8;

  # Custom 404 page
  #error_page 404 /404.html;

  # Redirects for WP sitemaps
  include global/yoast-wordpress-seo.conf;

  # Include global restrictions
  include global/restrictions.conf;

  # Include the basic h5bp config set
  include h5bp/basic.conf;

  # Include page caching exclude configuration.
  include global/cache-exclude.conf;

  location ~ /purge(/.*) {
    fastcgi_cache_purge EXAMPLE.COM "$scheme$request_method$host$1";
  }

  # Require authentication to access the directory. If you are using this you must
  # disable the global wordpress confs.
  #location / {
  # auth_basic "Login required";
  # auth_basic_user_file /srv/www/EXAMPLE.COM/htpasswd;
  #}

  # Enable configuration level
  pagespeed RewriteLevel CoreFilters;

  # Enabled extra rules
  pagespeed EnableFilters collapse_whitespace,insert_dns_prefetch;

  # Needs to exist and be writable by nginx.  Use tmpfs for best performance.
  pagespeed FileCachePath /var/ngx_pagespeed_cache/EXAMPLE.COM;

  # Needed for WPML directory test to pass
  pagespeed Disallow "*icl_validate_domain=1*";

  # Ensure requests for pagespeed optimized resources go to the pagespeed handler
  # and no extraneous headers get set.
  location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
    add_header "" "";
  }
  location ~ "^/pagespeed_static/" { }
  location ~ "^/ngx_pagespeed_beacon$" { }

  # Only include one of the files below.
  include global/wordpress.conf;
  #include global/wordpress-ms-subdir.conf;

  # Pass all .php files onto a php-fpm/php-fcgi server.
  location ~ [^/]\.php(/|$) {
  fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    if (!-f $document_root$fastcgi_script_name) {
      return 404;
    }
    # This is a robust solution for path info security issue and works with "cgi.fix_pathinfo = 1" in /etc/php.ini (default)

    include fastcgi.conf;
    fastcgi_param HTTP_PROXY ""; # https://httpoxy.org/#prevent
    fastcgi_index index.php;
    #fastcgi_intercept_errors on;
    fastcgi_pass 127.0.0.1:9000;

    fastcgi_cache_bypass $skip_cache;
    fastcgi_no_cache $skip_cache;
    fastcgi_cache EXAMPLE.COM;
    fastcgi_cache_valid 200 302 10m;
    fastcgi_cache_valid 301 1h;
    fastcgi_cache_valid any 1m;

    # Limit requests to php files.
    limit_req zone=req_per_ip burst=5 nodelay;
  }
}

# www to non-www redirect -- duplicate content is BAD:
# https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362
# Choose between www and non-www, listen on the *wrong* one and redirect to
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name

# Page caching
fastcgi_cache_path /srv/www/EXAMPLE.COM/cache levels=1:2 keys_zone=EXAMPLE.COM:100m inactive=60m;

server {
  # don't forget to tell on which port this server listens
  listen [::]:80;
  listen 80;

  # listen on the www host
  server_name www.EXAMPLE.COM;

  # and redirect to the non-www host (declared below)
  return 301 $scheme://EXAMPLE.COM$request_uri;
}

server {
  # Site level settings for fastcgi cache
  fastcgi_cache_lock on;
  fastcgi_cache_lock_age 3s;
  fastcgi_cache_lock_timeout 3s;
  fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;

  ###################################################
  # Settings to turn on pagespeed and fastcgi cache #
  ###################################################

  # Pagespeed (on/off)
  pagespeed off;

  # Skip fastcgi caching (1/0)
  # 0 = cache is active, 1= cache is set off
  set $skip_cache 0;

  ###################################################

  # listen [::]:80 accept_filter=httpready; # for FreeBSD
  # listen 80 accept_filter=httpready; # for FreeBSD
  # listen [::]:80 deferred; # for Linux
  # listen 80 deferred; # for Linux
  listen [::]:80;
  listen 80;

  # Limit connections per IP (to this host).
  limit_conn conn_per_ip 32;

  # The host name to respond to
  server_name EXAMPLE.COM;

  # Path for static files
  root /srv/www/EXAMPLE.COM/public;

  # Index files
  index index.html index.php;

  # Custom log locations. Enable if needed.
  #error_log  /srv/www/EXAMPLE.COM/logs/error.log warn;
  #access_log /srv/www/EXAMPLE.COM/logs/access.log main;

  # Specify a charset
  charset utf-8;

  # Custom 404 page
  #error_page 404 /404.html;

  # Redirects for WP sitemaps
  include global/yoast-wordpress-seo.conf;

  # Include global restrictions
  include global/restrictions.conf;

  # Include the basic h5bp config set
  include h5bp/basic.conf;

  # Include page caching exclude configuration.
  include global/cache-exclude.conf;

  location ~ /purge(/.*) {
    fastcgi_cache_purge EXAMPLE.COM "$scheme$request_method$host$1";
  }

  # Require authentication to access the directory. If you are using this you must
  # disable the global wordpress confs.
  #location / {
  # auth_basic "Login required";
  # auth_basic_user_file /srv/www/EXAMPLE.COM/htpasswd;
  #}

  # Enable configuration level
  pagespeed RewriteLevel CoreFilters;

  # Enabled extra rules
  pagespeed EnableFilters collapse_whitespace,insert_dns_prefetch;

  # Needs to exist and be writable by nginx.  Use tmpfs for best performance.
  pagespeed FileCachePath /var/ngx_pagespeed_cache/EXAMPLE.COM;

  # Needed for WPML directory test to pass
  pagespeed Disallow "*icl_validate_domain=1*";

  # Ensure requests for pagespeed optimized resources go to the pagespeed handler
  # and no extraneous headers get set.
  location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
    add_header "" "";
  }
  location ~ "^/pagespeed_static/" { }
  location ~ "^/ngx_pagespeed_beacon$" { }

  # Only include one of the files below.
  include global/wordpress.conf;
  #include global/wordpress-ms-subdir.conf;

  # Pass all .php files onto a php-fpm/php-fcgi server.
  location ~ [^/]\.php(/|$) {
  fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    if (!-f $document_root$fastcgi_script_name) {
      return 404;
    }
    # This is a robust solution for path info security issue and works with "cgi.fix_pathinfo = 1" in /etc/php.ini (default)

    include fastcgi.conf;
    fastcgi_index index.php;
    #fastcgi_intercept_errors on;
    fastcgi_pass 127.0.0.1:9000;

    fastcgi_cache_bypass $skip_cache;
    fastcgi_no_cache $skip_cache;
    fastcgi_cache EXAMPLE.COM;
    fastcgi_cache_valid 200 302 10m;
    fastcgi_cache_valid 301 1h;
    fastcgi_cache_valid any 1m;

    # Limit requests to php files.
    limit_req zone=req_per_ip burst=5 nodelay;
  }
}


Updated pagespeed trigger.

Updated pagespeed trigger.

# www to non-www redirect -- duplicate content is BAD:
# https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362
# Choose between www and non-www, listen on the *wrong* one and redirect to
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name

# Page caching
fastcgi_cache_path /srv/www/EXAMPLE.COM/cache levels=1:2 keys_zone=EXAMPLE_CACHE:100m inactive=60m;

server {
  # don't forget to tell on which port this server listens
  listen [::]:80;
  listen 80;

  # listen on the www host
  server_name www.EXAMPLE.COM;

  # and redirect to the non-www host (declared below)
  return 301 $scheme://EXAMPLE.COM$request_uri;
}

server {
  # Site level settings for fastcgi cache
  fastcgi_cache_lock on;
  fastcgi_cache_lock_age 3s;
  fastcgi_cache_lock_timeout 3s;
  fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;

  ###################################################
  # Settings to turn on pagespeed and fastcgi cache #
  ###################################################

  # Pagespeed (on/off)
  pagespeed off;

  # Skip fastcgi caching (1/0)
  # 0 = cache is active, 1= cache is set off
  set $skip_cache 0;

  ###################################################

  # listen [::]:80 accept_filter=httpready; # for FreeBSD
  # listen 80 accept_filter=httpready; # for FreeBSD
  # listen [::]:80 deferred; # for Linux
  # listen 80 deferred; # for Linux
  listen [::]:80;
  listen 80;

  # The host name to respond to
  server_name EXAMPLE.COM;

  # Path for static files
  root /srv/www/EXAMPLE.COM/public;

  # Index files
  index index.html index.php;

  # Custom log locations. Enable if needed.
  #error_log  /srv/www/EXAMPLE.COM/logs/error.log warn;
  #access_log /srv/www/EXAMPLE.COM/logs/access.log main;

  # Specify a charset
  charset utf-8;

  # Custom 404 page
  error_page 404 /404.html;

  # Redirects for WP sitemaps
  include global/yoast-wordpress-seo.conf;

  # Include global restrictions
  include global/restrictions.conf;

  # Include the basic h5bp config set
  include h5bp/basic.conf;

  # Include page caching exclude configuration.
  include global/cache-exclude.conf;

  location ~ /purge(/.*) {
    fastcgi_cache_purge EXAMPLE_CACHE "$scheme$request_method$host$1";
  }

  # Require authentication to access the directory. If you are using this you must
  # disable the global wordpress confs.
  #location / {
  # auth_basic "Login required";
  # auth_basic_user_file /srv/www/EXAMPLE.COM/htpasswd;
  #}

  # Enable configuration level
  pagespeed RewriteLevel CoreFilters;

  # Enabled extra rules
  pagespeed EnableFilters collapse_whitespace,insert_dns_prefetch,prioritize_critical_css;

  # Needs to exist and be writable by nginx.  Use tmpfs for best performance.
  pagespeed FileCachePath /var/ngx_pagespeed_cache/EXAMPLE.COM;

  # Needed for WPML directory test to pass
  pagespeed Disallow "*icl_validate_domain=1*";

  # Ensure requests for pagespeed optimized resources go to the pagespeed handler
  # and no extraneous headers get set.
  location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
    add_header "" "";
  }
  location ~ "^/pagespeed_static/" { }
  location ~ "^/ngx_pagespeed_beacon$" { }

  # Only include one of the files below.
  include global/wordpress.conf;
  #include global/wordpress-ms-subdir.conf;

  # Pass all .php files onto a php-fpm/php-fcgi server.
  location ~ [^/]\.php(/|$) {
  fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    if (!-f $document_root$fastcgi_script_name) {
      return 404;
    }
    # This is a robust solution for path info security issue and works with "cgi.fix_pathinfo = 1" in /etc/php.ini (default)

    include fastcgi.conf;
    fastcgi_index index.php;
    #fastcgi_intercept_errors on;
    fastcgi_pass 127.0.0.1:9000;

    fastcgi_cache_bypass $skip_cache;
    fastcgi_no_cache $skip_cache;
    fastcgi_cache EXAMPLE_CACHE;
    fastcgi_cache_valid 200 302 10m;
    fastcgi_cache_valid 301 1h;
    fastcgi_cache_valid any 1m;
  }
}

# www to non-www redirect -- duplicate content is BAD:
# https://github.com/h5bp/html5-boilerplate/blob/5370479476dceae7cc3ea105946536d6bc0ee468/.htaccess#L362
# Choose between www and non-www, listen on the *wrong* one and redirect to
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name

# Page caching
fastcgi_cache_path /srv/www/EXAMPLE.COM/cache levels=1:2 keys_zone=EXAMPLE_CACHE:100m inactive=60m;

server {
  # don't forget to tell on which port this server listens
  listen [::]:80;
  listen 80;

  # listen on the www host
  server_name www.EXAMPLE.COM;

  # and redirect to the non-www host (declared below)
  return 301 $scheme://EXAMPLE.COM$request_uri;
}

server {
  # Site level settings for fastcgi cache
  fastcgi_cache_lock on;
  fastcgi_cache_lock_age 3s;
  fastcgi_cache_lock_timeout 3s;
  fastcgi_cache_use_stale updating error timeout invalid_header http_500 http_503;

  ###################################################
  # Settings to turn on pagespeed and fastcgi cache #
  ###################################################

  # Pagespeed (on/off)
  set $pagespeed_status off;

  # Skip fastcgi caching (1/0)
  # 0 = cache is active, 1= cache is set off
  set $skip_cache 0;

  ###################################################

  # listen [::]:80 accept_filter=httpready; # for FreeBSD
  # listen 80 accept_filter=httpready; # for FreeBSD
  # listen [::]:80 deferred; # for Linux
  # listen 80 deferred; # for Linux
  listen [::]:80;
  listen 80;

  # The host name to respond to
  server_name EXAMPLE.COM;

  # Path for static files
  root /srv/www/EXAMPLE.COM/public;

  # Index files
  index index.html index.php;

  # Custom log locations. Enable if needed.
  #error_log  /srv/www/EXAMPLE.COM/logs/error.log warn;
  #access_log /srv/www/EXAMPLE.COM/logs/access.log main;

  # Specify a charset
  charset utf-8;

  # Custom 404 page
  error_page 404 /404.html;

  # Redirects for WP sitemaps
  include global/yoast-wordpress-seo.conf;

  # Include global restrictions
  include global/restrictions.conf;

  # Include the basic h5bp config set
  include h5bp/basic.conf;

  # Include page caching exclude configuration.
  include global/cache-exclude.conf;

  location ~ /purge(/.*) {
    fastcgi_cache_purge EXAMPLE_CACHE "$scheme$request_method$host$1";
  }

  # Require authentication to access the directory. If you are using this you must
  # disable the global wordpress confs.
  #location / {
  # auth_basic "Login required";
  # auth_basic_user_file /srv/www/EXAMPLE.COM/htpasswd;
  #}

  # Pagespeed
  pagespeed $pagespeed_status;

  # Enable configuration level
  pagespeed RewriteLevel CoreFilters;

  # Enabled extra rules
  pagespeed EnableFilters collapse_whitespace,insert_dns_prefetch,prioritize_critical_css;

  # Needs to exist and be writable by nginx.  Use tmpfs for best performance.
  pagespeed FileCachePath /var/ngx_pagespeed_cache/EXAMPLE.COM;

  # Needed for WPML directory test to pass
  pagespeed Disallow "*icl_validate_domain=1*";

  # Ensure requests for pagespeed optimized resources go to the pagespeed handler
  # and no extraneous headers get set.
  location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
    add_header "" "";
  }
  location ~ "^/pagespeed_static/" { }
  location ~ "^/ngx_pagespeed_beacon$" { }

  # Only include one of the files below.
  include global/wordpress.conf;
  #include global/wordpress-ms-subdir.conf;

  # Pass all .php files onto a php-fpm/php-fcgi server.
  location ~ [^/]\.php(/|$) {
  fastcgi_split_path_info ^(.+?\.php)(/.*)$;
    if (!-f $document_root$fastcgi_script_name) {
      return 404;
    }
    # This is a robust solution for path info security issue and works with "cgi.fix_pathinfo = 1" in /etc/php.ini (default)

    include fastcgi.conf;
    fastcgi_index index.php;
    #fastcgi_intercept_errors on;
    fastcgi_pass 127.0.0.1:9000;

    fastcgi_cache_bypass $skip_cache;
    fastcgi_no_cache $skip_cache;
    fastcgi_cache EXAMPLE_CACHE;
    fastcgi_cache_valid 200 302 10m;
    fastcgi_cache_valid 301 1h;
    fastcgi_cache_valid any 1m;
  }
}


update

update

# Redirect all HTTP trafic to HTTPS

server {
    listen 80;
    listen [::]:80;

    server_name polymyr.com www.polymyr.com api.polymyr.com www.api.polymyr.com static.polymyr.com www.static.polymyr.com beta.polymyr.com www.beta.polymyr.com;

    location ^~ /.well-known/acme-challenge/ {
        default_type "text/plain";
        root /tmp/letsencrypt-auto/;
    }

    location = /.well-known/acme-challenge/ {
        return 404;
    }

    location / {
        return 301 https://$server_name$request_uri;
    }
}

server {

    listen 443 ssl http2 default_server;
    listen [::]:443 ssl http2 default_server;

    include snippets/ssl-polymyr.com.conf;
    include snippets/ssl-params.conf;

    server_name polymyr.com www.polymyr.com;

    root /home/jasper/polymyr;
    index index.php index.html;

    location / {
        try_files $uri $uri/ =404;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

    location ~ /\.ht {
        deny all;
    }
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    include snippets/ssl-api.polymyr.com.conf;
    include snippets/ssl-params.conf;

    root /home/hakon/polymyr/polymyr-dev-api/;

    server_name api.polymyr.com www.api.polymyr.com;

    location / {
        include proxy_params;
        proxy_pass http://127.0.0.1:8080;
    }
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    include snippets/ssl-api.polymyr.com.conf;
    include snippets/ssl-params.conf;

    root /home/hakon/polymyr/polymyr-development-api;

    server_name beta.polymyr.com www.beta.polymyr.com;

    location / {
        include proxy_params;
        proxy_pass http://127.0.0.1:8081;
    }
}

proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=static:10m inactive=60m use_temp_path=off max_size=4g;

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    include snippets/ssl-api.polymyr.com.conf;
    include snippets/ssl-params.conf;

    root /home/hakon/polymyr/polymyr-dev-api/Public;

    server_name static.polymyr.com www.static.polymyr.com;

    location / {
        include h5bp/basic.conf;

        tcp_nodelay on;
        keepalive_timeout 65;
        sendfile on;
        tcp_nopush on;
        sendfile_max_chunk 1m;

        proxy_cache static;
        try_files $uri =404;
    }
}

# Redirect all HTTP trafic to HTTPS

server {
    listen 80;
    listen [::]:80;

    server_name polymyr.com www.polymyr.com api.polymyr.com www.api.polymyr.com static.polymyr.com www.static.polymyr.com beta.polymyr.com www.beta.polymyr.com;

    location ^~ /.well-known/acme-challenge/ {
        default_type "text/plain";
        root /tmp/letsencrypt-auto/;
    }

    location = /.well-known/acme-challenge/ {
        return 404;
    }

    location / {
        return 301 https://$server_name$request_uri;
    }
}

server {

    listen 443 ssl http2 default_server;
    listen [::]:443 ssl http2 default_server;

    include snippets/ssl-polymyr.com.conf;
    include snippets/ssl-params.conf;

    server_name polymyr.com www.polymyr.com;

    root /home/jasper/polymyr;
    index index.php index.html;

    location / {
        try_files $uri $uri/ =404;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

    location ~ /\.ht {
        deny all;
    }
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    include snippets/ssl-api.polymyr.com.conf;
    include snippets/ssl-params.conf;

    root /home/hakon/polymyr/polymyr-dev-api/;

    server_name api.polymyr.com www.api.polymyr.com;

    location / {
        include proxy_params;
        proxy_pass http://127.0.0.1:8080;
    }
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    include snippets/ssl-api.polymyr.com.conf;
    include snippets/ssl-params.conf;

    root /home/hakon/polymyr/polymyr-development-api/;

    server_name beta.polymyr.com www.beta.polymyr.com;

    location / {
        include proxy_params;
        proxy_pass http://127.0.0.1:8081;
    }
}

proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=static:10m inactive=60m use_temp_path=off max_size=4g;

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    include snippets/ssl-api.polymyr.com.conf;
    include snippets/ssl-params.conf;

    root /home/hakon/polymyr/polymyr-dev-api/Public;

    server_name static.polymyr.com www.static.polymyr.com;

    location / {
        include h5bp/basic.conf;

        tcp_nodelay on;
        keepalive_timeout 65;
        sendfile on;
        tcp_nopush on;
        sendfile_max_chunk 1m;

        proxy_cache static;
        try_files $uri =404;
    }
}