mirror of
https://github.com/monero-project/monero-site.git
synced 2024-11-17 00:07:54 +00:00
Merge pull request #547 from MaxXor/update-config
Update nginx.conf with new redirects and latest cli/gui versions
This commit is contained in:
commit
282d818c60
1 changed files with 27 additions and 13 deletions
|
@ -55,58 +55,72 @@ server {
|
|||
}
|
||||
# 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!
|
||||
location /win64 {
|
||||
rewrite ^ /cli/monero-win-x64-v0.10.3.1.zip redirect;
|
||||
rewrite ^ /cli/monero-win-x64-v0.11.1.0.zip redirect;
|
||||
}
|
||||
|
||||
location /win32 {
|
||||
rewrite ^ /cli/monero-win-x86-v0.10.3.1.zip redirect;
|
||||
rewrite ^ /cli/monero-win-x86-v0.11.1.0.zip redirect;
|
||||
}
|
||||
|
||||
location /mac64 {
|
||||
rewrite ^ /cli/monero-mac-x64-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /cli/monero-mac-x64-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
location /linux64 {
|
||||
rewrite ^ /cli/monero-linux-x64-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /cli/monero-linux-x64-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
location /linux32 {
|
||||
rewrite ^ /cli/monero-linux-x86-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /cli/monero-linux-x86-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
location /linuxarm7 {
|
||||
rewrite ^ /cli/monero-linux-armv7-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /cli/monero-linux-armv7-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
location /linuxarm8 {
|
||||
rewrite ^ /cli/monero-linux-armv8-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /cli/monero-linux-armv8-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
location /freebsd64 {
|
||||
rewrite ^ /cli/monero-freebsd-x64-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /cli/monero-freebsd-x64-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
location /dragonflybsd64 {
|
||||
rewrite ^ /cli/monero-dragonflybsd-x64-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /cli/monero-dragonflybsd-x64-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
# GUI downloads
|
||||
location /gui/win64 {
|
||||
rewrite ^ /gui/monero-win-x64-v0.10.3.1.zip redirect;
|
||||
rewrite ^ /gui/monero-gui-win-x64-v0.11.1.0.zip redirect;
|
||||
}
|
||||
|
||||
location /gui/mac64 {
|
||||
rewrite ^ /gui/monero-mac-x64-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /gui/monero-gui-mac-x64-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
location /gui/linux64 {
|
||||
rewrite ^ /gui/monero-linux-x64-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /gui/monero-gui-linux-x64-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
location /gui/linux32 {
|
||||
rewrite ^ /gui/monero-linux-x86-v0.10.3.1.tar.bz2 redirect;
|
||||
rewrite ^ /gui/monero-gui-linux-x86-v0.11.1.0.tar.bz2 redirect;
|
||||
}
|
||||
|
||||
# Other download redirects
|
||||
|
|
Loading…
Reference in a new issue