From d53a3e2fe5259fe02719585637581b7156a9e472 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Fri, 21 Dec 2018 16:36:34 -0800 Subject: [PATCH] Serve pages without .html extension --- cmd/nginx/podsync.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nginx/podsync.conf b/cmd/nginx/podsync.conf index 583e1aa..dbf0dde 100644 --- a/cmd/nginx/podsync.conf +++ b/cmd/nginx/podsync.conf @@ -36,7 +36,7 @@ server { } location / { - try_files $uri $uri/ @backend; + try_files $uri $uri.html $uri/ @backend; } location @backend {