-
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.
- Loading branch information
1 parent
67b31ac
commit bb155ef
Showing
9 changed files
with
191 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
- | ||
uri: /fam-wui | ||
plugins: | ||
redirect: | ||
uri: /fam-wui/ | ||
response-rewrite: | ||
headers: | ||
set: | ||
# Fix CWE Id: 693 | ||
Content-Security-Policy: "default-src https: data: blob: 'self'; connect-src 'self' data: blob:; media-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; font-src 'self'; img-src 'self' data: blob:; frame-ancestors 'none'; form-action 'self'; object-src 'none'; manifest-src 'self'; frame-src 'self'" | ||
# Fix CWE Id: 200 | ||
Server: "ARLAS services" | ||
# Fix CWE Id: 319 // Value recommended by https://hstspreload.org/ | ||
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload | ||
# Fix CWE Id: 693 | ||
X-Content-Type-Options: nosniff | ||
- | ||
uri: /fam-wui/* | ||
upstream: | ||
nodes: | ||
"arlas-fam-wui:80": 1 | ||
plugins: | ||
response-rewrite: | ||
headers: | ||
set: | ||
# Fix CWE Id: 693 | ||
Content-Security-Policy: "default-src https: data: blob: 'self'; connect-src 'self' data: blob:; media-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; font-src 'self'; img-src 'self' data: blob:; frame-ancestors 'none'; form-action 'self'; object-src 'none'; manifest-src 'self'; frame-src 'self'" | ||
# Fix CWE Id: 1021 | ||
X-Frame-Options: "DENY" | ||
# Fix CWE Id: 693 // The () means those resources are not allowed. | ||
Permissions-Policy: accelerometer=(), camera=(), microphone=(), geolocation=(), usb=() | ||
# Fix CWE Id: 200 | ||
Server: "ARLAS services" | ||
# Fix CWE Id: 319 // Value recommended by https://hstspreload.org/ | ||
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload | ||
# Fix CWE Id: 693 | ||
X-Content-Type-Options: nosniff | ||
proxy-rewrite: | ||
regex_uri: ["/fam-wui/(.*)", "/$1"] | ||
- | ||
uri: /agate/healthcheck | ||
methods: ["GET"] | ||
upstream: | ||
nodes: | ||
"agate:8004": 1 | ||
- | ||
uri: /airs-storage/* | ||
methods: ["GET"] | ||
upstream: | ||
nodes: | ||
"minio:9000": 1 | ||
plugins: | ||
forward-auth: | ||
uri: http://agate:8004/agate/authorization | ||
request_headers: ["Authorization", "arlas-org-filter"] | ||
- | ||
uri: /fam/* | ||
upstream: | ||
nodes: | ||
"fam-service:8005": 1 | ||
plugins: | ||
forward-auth: | ||
uri: http://arlas-iam-server:9998/arlas_iam_server/auth | ||
request_headers: ["Authorization", "arlas-org-filter"] | ||
proxy-rewrite: | ||
headers: | ||
set: | ||
# Fix CWE Id: 1021 | ||
Access-Control-Allow-Origin: "https://${ARLAS_HOST}" | ||
response-rewrite: | ||
headers: | ||
set: | ||
# Fix CWE Id: 693 | ||
Content-Security-Policy: "default-src https: data: blob: 'self'; connect-src 'self' data: blob:; media-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; font-src 'self'; img-src 'self' data: blob:; frame-ancestors 'none'; form-action 'self'; object-src 'none'; manifest-src 'self'; frame-src 'self'" | ||
# Fix CWE Id: 200 | ||
Server: "ARLAS services" | ||
# Fix CWE Id: 319 // Value recommended by https://hstspreload.org/ | ||
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload | ||
# Fix CWE Id: 693 | ||
X-Content-Type-Options: nosniff | ||
|
||
- | ||
uri: /airs/healthcheck | ||
methods: ["GET"] | ||
upstream: | ||
nodes: | ||
"airs-server:8000": 1 | ||
- | ||
uri: /airs/collections/* | ||
upstream: | ||
nodes: | ||
"airs-server:8000": 1 | ||
plugins: | ||
forward-auth: | ||
uri: http://arlas-iam-server:9998/arlas_iam_server/auth | ||
request_headers: ["Authorization", "arlas-org-filter"] | ||
- | ||
uri: /aproc/healthcheck | ||
methods: ["GET"] | ||
upstream: | ||
nodes: | ||
"aproc-service:8001": 1 | ||
- | ||
uri: /aproc/processes/* | ||
upstream: | ||
nodes: | ||
"aproc-service:8001": 1 | ||
plugins: | ||
forward-auth: | ||
uri: http://arlas-iam-server:9998/arlas_iam_server/auth | ||
request_headers: ["Authorization", "arlas-org-filter"] | ||
- | ||
uri: /aproc/jobs | ||
upstream: | ||
nodes: | ||
"aproc-service:8001": 1 | ||
plugins: | ||
forward-auth: | ||
uri: http://arlas-iam-server:9998/arlas_iam_server/auth | ||
request_headers: ["Authorization", "arlas-org-filter"] | ||
- | ||
uri: /aproc/jobs/* | ||
upstream: | ||
nodes: | ||
"aproc-service:8001": 1 | ||
plugins: | ||
forward-auth: | ||
uri: http://arlas-iam-server:9998/arlas_iam_server/auth | ||
request_headers: ["Authorization", "arlas-org-filter"] |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARLAS_HOST=localhost | ||
ARLAS_HOST=sylvains-macbook-air.lan | ||
|
||
PROTOMAP_DATA_DIR=$PWD/resources | ||
#DOCKER_LOGGING_DRIVER= |
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
Oops, something went wrong.