Commit 85b4c79a authored by Terence Lee's avatar Terence Lee

stop recursive redirecting when file not found for clean_urls

parent e2658bc0
......@@ -36,6 +36,10 @@ http {
location / {
try_files $uri $uri/ $uri.html;
}
location ~ \.html$ {
try_files $uri =404;
}
<% end %>
<% proxies.each do |location, hash| %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment