Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
monero-site
Commits
282d818c
Unverified
Commit
282d818c
authored
Jan 19, 2018
by
luigi1111
Committed by
GitHub
Jan 19, 2018
Browse files
Merge pull request #547 from MaxXor/update-config
Update nginx.conf with new redirects and latest cli/gui versions
parents
b02eb27a
e09e37f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
_config/nginx.conf
View file @
282d818c
...
@@ -55,58 +55,72 @@ server {
...
@@ -55,58 +55,72 @@ server {
}
}
# End of general restrictions
# End of general restrictions
rewrite
^/home
/
permanent
;
rewrite
^/knowledge-base
/
permanent
;
rewrite
^/knowledge-base/projects
/resources/merchants/
permanent
;
rewrite
^/knowledge-base/user-guides
/resources/user-guides/
permanent
;
rewrite
^/knowledge-base/developer-guides
/resources/developer-guides/
permanent
;
rewrite
^/knowledge-base/moneropedia
/resources/moneropedia/
permanent
;
rewrite
^/knowledge-base/people
/community/team/
permanent
;
rewrite
^/knowledge-base/open-alias
/the-monero-project/
permanent
;
rewrite
^/knowledge-base/about
/resources/about/
permanent
;
rewrite
^/getting-started/donate
/get-started/contributing/
permanent
;
rewrite
^/getting-started/accepting
/get-started/accepting/
permanent
;
rewrite
^/getting-started/merchants
/community/merchants/
permanent
;
rewrite
^/getting-started/running
/get-started/using/
permanent
;
# Downloads!
# Downloads!
location
/win64
{
location
/win64
{
rewrite
^
/cli/monero-win-x64-v0.1
0.3.1
.zip
redirect
;
rewrite
^
/cli/monero-win-x64-v0.1
1.1.0
.zip
redirect
;
}
}
location
/win32
{
location
/win32
{
rewrite
^
/cli/monero-win-x86-v0.1
0.3.1
.zip
redirect
;
rewrite
^
/cli/monero-win-x86-v0.1
1.1.0
.zip
redirect
;
}
}
location
/mac64
{
location
/mac64
{
rewrite
^
/cli/monero-mac-x64-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/cli/monero-mac-x64-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
location
/linux64
{
location
/linux64
{
rewrite
^
/cli/monero-linux-x64-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/cli/monero-linux-x64-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
location
/linux32
{
location
/linux32
{
rewrite
^
/cli/monero-linux-x86-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/cli/monero-linux-x86-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
location
/linuxarm7
{
location
/linuxarm7
{
rewrite
^
/cli/monero-linux-armv7-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/cli/monero-linux-armv7-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
location
/linuxarm8
{
location
/linuxarm8
{
rewrite
^
/cli/monero-linux-armv8-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/cli/monero-linux-armv8-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
location
/freebsd64
{
location
/freebsd64
{
rewrite
^
/cli/monero-freebsd-x64-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/cli/monero-freebsd-x64-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
location
/dragonflybsd64
{
location
/dragonflybsd64
{
rewrite
^
/cli/monero-dragonflybsd-x64-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/cli/monero-dragonflybsd-x64-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
# GUI downloads
# GUI downloads
location
/gui/win64
{
location
/gui/win64
{
rewrite
^
/gui/monero-win-x64-v0.1
0.3.1
.zip
redirect
;
rewrite
^
/gui/monero-
gui-
win-x64-v0.1
1.1.0
.zip
redirect
;
}
}
location
/gui/mac64
{
location
/gui/mac64
{
rewrite
^
/gui/monero-mac-x64-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/gui/monero-
gui-
mac-x64-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
location
/gui/linux64
{
location
/gui/linux64
{
rewrite
^
/gui/monero-linux-x64-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/gui/monero-
gui-
linux-x64-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
location
/gui/linux32
{
location
/gui/linux32
{
rewrite
^
/gui/monero-linux-x86-v0.1
0.3.1
.tar.bz2
redirect
;
rewrite
^
/gui/monero-
gui-
linux-x86-v0.1
1.1.0
.tar.bz2
redirect
;
}
}
# Other download redirects
# Other download redirects
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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