Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
63728f88
Commit
63728f88
authored
Aug 13, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the XHTML in the default guru page.
Submitted by: mattrobenolt Approved by: mithradir
parent
37e6f871
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
builtin.vcl
bin/varnishd/builtin.vcl
+2
-8
No files found.
bin/varnishd/builtin.vcl
View file @
63728f88
...
...
@@ -126,10 +126,7 @@ sub vcl_deliver {
sub vcl_synth {
set resp.http.Content-Type = "text/html; charset=utf-8";
set resp.http.Retry-After = "5";
synthetic( {"
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
synthetic( {"
<!DOCTYPE html>
<html>
<head>
<title>
"} + resp.status + " " + resp.reason + {"
</title>
...
...
@@ -173,10 +170,7 @@ sub vcl_backend_response {
sub
vcl_backend_error
{
set
beresp
.
http
.
Content-Type =
"text/html; charset=utf-8"
;
set
beresp
.
http
.
Retry-After =
"5"
;
synthetic
(
{"
<?
xml
version=
"1.0"
encoding=
"utf-8"
?
>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
synthetic
(
{"<!
DOCTYPE
html
>
<html>
<head>
<title>
"} + beresp.status + " " + beresp.reason + {"
</title>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment