Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nginx-redirector
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
nginx-redirector
Commits
a5b2b78f
Commit
a5b2b78f
authored
May 06, 2019
by
Nick Yefremov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated tests
parent
43fb4dd3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
test.map
tests/test.map
+17
-0
test.yaml
tests/test.yaml
+3
-2
No files found.
tests/test.map
0 → 100644
View file @
a5b2b78f
# comment
/some-page /another-page
# regexp
~^assets/(.+) /new-assets/$1
# additional redirect options
/categories /categories [rewrite]
/article-123.html /articles/123 [status=301]
# root-relative urls
/some-page //other-project/some-page
# absolute redirect
/special-project https://github.com/etersoft/special-project
\ No newline at end of file
tests/test.yaml
View file @
a5b2b78f
projects
:
-
map
:
.
/test.map
-
map
:
tests
/test.map
prefix
:
/test
-
map
:
.
/test2.map
-
map
:
tests
/test2.map
prefix
:
/test2
\ No newline at end of file
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