Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
53b7b131
Commit
53b7b131
authored
Jul 25, 2015
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update change list, and note in comment
parent
bec9b9a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
config/setup/redir.go
config/setup/redir.go
+2
-0
dist/CHANGES.txt
dist/CHANGES.txt
+1
-0
No files found.
config/setup/redir.go
View file @
53b7b131
...
...
@@ -82,6 +82,8 @@ func redirParse(c *Controller) ([]redirect.Rule, error) {
switch
len
(
insideArgs
)
{
case
1
:
// To specified (catch-all redirect)
// Not sure why user is doing this in a table, as it causes all other redirects to be ignored.
// As such, this feature remains undocumented.
rule
.
From
=
"/"
rule
.
To
=
insideArgs
[
0
]
case
2
:
...
...
dist/CHANGES.txt
View file @
53b7b131
...
...
@@ -6,6 +6,7 @@ CHANGES
- markdown: Fix for large markdown files
- redir: Can use variables like log formats can
- redir: Catch-all redirects no longer preserve path; use {uri} instead
- redir: Create redirect tables by opening a redir block
0.7.3 (July 15, 2015)
...
...
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