-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes for new chemistry related features (#46)
- Loading branch information
1 parent
7c0ddc7
commit 80b9b1a
Showing
8 changed files
with
112 additions
and
3 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# config snippet for fingerprinter service | ||
location = /fingerprinter { | ||
# this URL is set by entrypoint script | ||
proxy_pass %FINGERPRINTER_URL%; | ||
} |
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,25 @@ | ||
location ^~ /indigo { | ||
# this URL is set by entrypoint script | ||
proxy_pass %INDIGO_URL%; | ||
# Should be set 'always' to transfer our lovely HTTP500 errors | ||
# see: https://epa.ms/d6u2d | ||
# Headers could be also set by Flasgger in service/config.py | ||
add_header 'Access-Control-Allow-Origin' '*' always; | ||
add_header 'Access-Control-Allow-Methods' 'POST, GET, PUT, DELETE, OPTIONS' always; | ||
add_header 'Access-Control-Allow-Headers' 'Accept, Content-Type' always; | ||
add_header 'Access-Control-Max-Age' '86400' always; | ||
# Preserve host and other headers for the proxied requests | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-Forwarded-Proto $scheme; | ||
|
||
# Optionally, timeouts for upstream server | ||
proxy_connect_timeout 60; | ||
proxy_send_timeout 60; | ||
proxy_read_timeout 60; | ||
send_timeout 60; | ||
|
||
# Ensure HTTP500 errors are passed | ||
proxy_intercept_errors off; | ||
} |
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,4 @@ | ||
location ^~ /shareyourcloning { | ||
# this URL is set by entrypoint script | ||
proxy_pass %SHAREYOURCLONING_URL%; | ||
} |
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