From 91275eb478ceb58083426099b6da3f4c7e189f19 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 04:50:01 +0200 Subject: Merging debian version 1.9.4-1. Signed-off-by: Daniel Baumann --- .../srcdoc/configure/redirect_directives.mt | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 debian/vendor-h2o/srcdoc/configure/redirect_directives.mt (limited to 'debian/vendor-h2o/srcdoc/configure/redirect_directives.mt') diff --git a/debian/vendor-h2o/srcdoc/configure/redirect_directives.mt b/debian/vendor-h2o/srcdoc/configure/redirect_directives.mt deleted file mode 100644 index 8fbdd95..0000000 --- a/debian/vendor-h2o/srcdoc/configure/redirect_directives.mt +++ /dev/null @@ -1,47 +0,0 @@ -? my $ctx = $main::context; -? $_mt->wrapper_file("wrapper.mt", "Configure", "Redirect Directives")->(sub { - -

-This document describes the configuration directives of the redirect handler. -

- -{directive}->( - name => "redirect", - levels => [ qw(path) ], - desc => q{Redirects the requests to given URL.}, -)->(sub { -?> -

-The directive rewrites the URL by replacing the host and path part of the URL at which the directive is used with the given URL. For example, when using the configuration below, requests to http://example.com/abc.html will be redirected to https://example.com/abc.html. -

-

-If the argument is a scalar, the value is considered as the URL to where the requests should be redirected. -

-

-Following properties are recognized if the argument is a mapping. -

-
url -
URL to redirect to -
status -
the three-digit status code to use (e.g. 301) -
internal -
either YES or NO (default); if set to YES, then the server performs an internal redirect and return the content at the redirected URL -
-

-{example}->('Redirect all HTTP to HTTPS permanently (except for the files under RSS)', <<'EOT'); -hosts: - "example.com:80": - paths: - "/": - redirect: - status: 301 - url: "https://example.com/" - "/rss": - file.dir: /path/to/rss -EOT -?> - -? }) - -? }) -- cgit v1.2.3