generated from bcgov/quickstart-openshift
-
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
ab18c0b
commit cbe4bd7
Showing
13 changed files
with
318 additions
and
8,621 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 |
---|---|---|
|
@@ -2,16 +2,12 @@ | |
auto_https off | ||
admin off | ||
} | ||
<<<<<<< HEAD | ||
|
||
:3000 { | ||
root * /srv | ||
|
||
encode gzip | ||
|
||
======= | ||
:3000 { | ||
>>>>>>> 2577926 (Initial commit) | ||
log { | ||
output stdout | ||
format console { | ||
|
@@ -20,33 +16,13 @@ | |
} | ||
level {$LOG_LEVEL} | ||
} | ||
<<<<<<< HEAD | ||
|
||
======= | ||
root * /srv | ||
encode zstd gzip | ||
file_server | ||
@spa_router { | ||
not path /api/* | ||
file { | ||
try_files {path} /index.html | ||
} | ||
} | ||
rewrite @spa_router {http.matchers.file.relative} | ||
# Proxy requests to API service | ||
reverse_proxy /api/* {$BACKEND_URL} { | ||
header_up Host {http.reverse_proxy.upstream.hostport} | ||
header_up X-Real-IP {remote_host} | ||
header_up X-Forwarded-For {remote_host} | ||
} | ||
>>>>>>> 2577926 (Initial commit) | ||
header { | ||
X-Frame-Options "SAMEORIGIN" | ||
X-XSS-Protection "1;mode=block" | ||
Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate" | ||
X-Content-Type-Options "nosniff" | ||
Strict-Transport-Security "max-age=31536000" | ||
<<<<<<< HEAD | ||
Content-Security-Policy "base-uri 'self'; connect-src 'self' https://*.gov.bc.ca https://*.amazoncognito.com https://cognito-idp.ca-central-1.amazonaws.com; default-src 'self'; font-src 'self'; frame-src 'self' https://*.gov.bc.ca; img-src 'self'; manifest-src 'self'; media-src 'self'; object-src 'none'; script-src 'unsafe-inline' 'report-sample' 'self' https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js; style-src 'report-sample' 'self' https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css; worker-src 'none';" | ||
Referrer-Policy "same-origin" | ||
} | ||
|
@@ -63,19 +39,8 @@ | |
file_server | ||
} | ||
|
||
======= | ||
Content-Security-Policy "default-src 'self' https://spt.apps.gov.bc.ca data:; script-src 'self' 'unsafe-eval' https://www2.gov.bc.ca ;style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://use.fontawesome.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https://fonts.googleapis.com http://www.w3.org https://*.gov.bc.ca" | ||
Referrer-Policy "same-origin" | ||
Feature-Policy "fullscreen 'self'; camera 'none'; microphone 'none'" | ||
} | ||
} | ||
>>>>>>> 2577926 (Initial commit) | ||
:3001 { | ||
handle /health { | ||
respond "OK" | ||
} | ||
<<<<<<< HEAD | ||
} | ||
======= | ||
} | ||
>>>>>>> 2577926 (Initial commit) | ||
} |
Oops, something went wrong.