-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1612 Working TLS on nginx, resources not included in code
- Loading branch information
1 parent
86c3e00
commit 6dec360
Showing
22 changed files
with
25 additions
and
94 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
events {} | ||
|
||
http { | ||
include mime.types; | ||
ssl_session_cache shared:SSL:10m; | ||
ssl_session_timeout 10m; | ||
server { | ||
listen 443 ssl http2; | ||
root /usr/share/nginx/html; | ||
server_name ${DNS_NAME}; | ||
ssl_certificate /etc/ssl/certificate.pem; | ||
ssl_certificate_key /etc/ssl/private.pem; | ||
} | ||
} |
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,5 +1,12 @@ | ||
#!/bin/sh | ||
|
||
if [ -n "${PRIVATE_KEY}" ] && [ -n "${CERTIFICATE}" ]; then | ||
envsubst < ./nginx.conf > /etc/nginx/nginx.conf | ||
echo "${PRIVATE_KEY}" >> /etc/ssl/private.pem | ||
echo "${CERTIFICATE}" >> /etc/ssl/certificate.pem | ||
echo "${CA_CHAIN}" >> /etc/ssl/cachain.pem | ||
fi | ||
|
||
envsubst < /usr/share/nginx/html/package.json > /usr/share/nginx/html/package-new.json | ||
rm /usr/share/nginx/html/package.json | ||
mv /usr/share/nginx/html/package-new.json /usr/share/nginx/html/package.json |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-65.9 KB
menas-web/ui/theme/sap/ui/core/themes/sap_belize/fonts/72-Bold-full.woff
Binary file not shown.
Binary file removed
BIN
-49.8 KB
menas-web/ui/theme/sap/ui/core/themes/sap_belize/fonts/72-Bold-full.woff2
Binary file not shown.
Binary file removed
BIN
-36.7 KB
menas-web/ui/theme/sap/ui/core/themes/sap_belize/fonts/72-Bold.woff
Binary file not shown.
Binary file removed
BIN
-26.1 KB
menas-web/ui/theme/sap/ui/core/themes/sap_belize/fonts/72-Bold.woff2
Binary file not shown.
Binary file removed
BIN
-68.9 KB
menas-web/ui/theme/sap/ui/core/themes/sap_belize/fonts/72-Regular-full.woff
Binary file not shown.
Binary file removed
BIN
-52.1 KB
menas-web/ui/theme/sap/ui/core/themes/sap_belize/fonts/72-Regular-full.woff2
Binary file not shown.
Binary file removed
BIN
-38 KB
menas-web/ui/theme/sap/ui/core/themes/sap_belize/fonts/72-Regular.woff
Binary file not shown.
Binary file removed
BIN
-27.2 KB
menas-web/ui/theme/sap/ui/core/themes/sap_belize/fonts/72-Regular.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion
1
menas-web/ui/theme/sap/ui/core/themes/sap_belize/library-parameters.json
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
menas-web/ui/theme/sap/ui/core/themes/sap_belize/library.css
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
menas-web/ui/theme/sap/ui/layout/themes/sap_belize/library.css
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
menas-web/ui/theme/sap/ui/table/themes/sap_belize/library-parameters.json
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
menas-web/ui/theme/sap/ui/table/themes/sap_belize/library.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.