-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from microbiomedata/77-finalize-website-struct…
…ure-for-initial-review Display banners, customize favicon, implement "Edit on GitHub" links, and move some files
- Loading branch information
Showing
31 changed files
with
209 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# `.docker` | ||
|
||
This directory contains files that are specific to the container-based development environment of this repository. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This is an Nginx configuration file used for previewing the website locally. | ||
# It maps top-level paths to the containers that serve the associated resources. | ||
# The hostnames here match the service names defined in `docker-compose.yml`. | ||
|
||
events {} | ||
|
||
http { | ||
server { | ||
listen 80; | ||
|
||
# Legacy documentation. | ||
location /legacy/ { | ||
proxy_pass http://legacy-nmdc-documentation:8000/; | ||
} | ||
|
||
# Redirect `/legacy` (exact) to `/legacy/`. | ||
location = /legacy { | ||
rewrite ^ $scheme://$http_host/legacy/ redirect; | ||
} | ||
|
||
# Runtime documentation. | ||
location /runtime/ { | ||
proxy_pass http://runtime-documentation:8000/; | ||
} | ||
|
||
# Redirect `/runtime` (exact) to `/runtime/`. | ||
location = /runtime { | ||
rewrite ^ $scheme://$http_host/runtime/ redirect; | ||
} | ||
|
||
# Workflow documentation. | ||
location /workflows/ { | ||
proxy_pass http://workflow-documentation:8000/; | ||
} | ||
|
||
# Redirect `/workflows` (exact) to `/workflows/`. | ||
location = /workflows { | ||
rewrite ^ $scheme://$http_host/workflows/ redirect; | ||
} | ||
|
||
# Current NMDC documentation. | ||
location / { | ||
proxy_pass http://nmdc-documentation:8000/; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.