add /docs proxy

This commit is contained in:
Karol Wypchlo 2020-10-16 14:59:36 +02:00
parent 329a59bae9
commit 831defeca3
2 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,10 @@ server {
root /var/www/webportal;
}
location /docs {
proxy_pass https://nebulouslabs.github.io/skynet-docs;
}
location /blacklist {
include /etc/nginx/conf.d/include/cors;

View File

@ -19,7 +19,7 @@ export default function HomeSamples() {
<p>Above are some code snippets for uploading and retrieving data.</p>
<p>
Skynet includes{" "}
<a href="https://nebulouslabs.github.io/skynet-docs" target="_blank" rel="noopener noreferrer" className="link">
<a href="https://siasky.net/docs" target="_blank" rel="noopener noreferrer" className="link">
SDKs
</a>{" "}
for popular programming languages and{" "}