Skip to content

Commit

Permalink
update frontend env vars and ssl certs
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusvigariu committed Oct 9, 2024
1 parent 1cf8285 commit 710f9ec
Show file tree
Hide file tree
Showing 16 changed files with 148 additions and 104 deletions.
5 changes: 2 additions & 3 deletions docker-compose/envs/common-frontend.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ NEXT_PUBLIC_FEATURED_NETWORKS=https://raw.githubusercontent.com/Nexis-Network/ne
NEXT_PUBLIC_FOOTER_LINKS=https://raw.githubusercontent.com/Nexis-Network/nexscan-data/main/links/footer.json
# NEXT_PUBLIC_HOMEPAGE_CHARTS=['daily_txs','coin_price','market_cap']
NEXT_PUBLIC_HOMEPAGE_CHARTS=['daily_txs']
NEXT_PUBLIC_HOMEPAGE_PLATE_BACKGROUND="radial-gradient(103.03% 103.03% at 0% 0%, rgba(183, 148, 244, 0.8) 0%, rgba(0, 163, 196, 0.8) 100%), var(--chakra-colors-blue-400)"
NEXT_PUBLIC_HOMEPAGE_PLATE_TEXT_COLOR="rgb(255, 255, 255)"
NEXT_PUBLIC_HOMEPAGE_SHOW_AVG_BLOCK_TIME=false
NEXT_PUBLIC_HOMEPAGE_HERO_BANNER_CONFIG={'background':['radial-gradient(103.03% 103.03% at 0% 0%, rgba(183, 148, 244, 0.8) 0%, rgba(0, 163, 196, 0.8) 100%), var(--chakra-colors-blue-400)'],'text_color':['rgb(255, 255, 255)']}
NEXT_PUBLIC_HOMEPAGE_STATS=['total_blocks', 'total_txs', 'average_block_time', 'gas_tracker']
NEXT_PUBLIC_IS_TESTNET=true
NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS=18
NEXT_PUBLIC_NETWORK_CURRENCY_NAME=Nexis
Expand Down
2 changes: 2 additions & 0 deletions docker-compose/services/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
BACK_PROXY_PASS: ${BACK_PROXY_PASS:-http://backend:4000}
FRONT_PROXY_PASS: ${FRONT_PROXY_PASS:-http://frontend:3000}
ports:
- target: 80
published: 80
- target: 443
published: 443
- target: 8080
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDkjCCAxigAwIBAgISA3mPsWSOuX0bGH635pf8aVwKMAoGCCqGSM49BAMDMDIx
CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF
NTAeFw0yNDEwMDIxMDU0MjZaFw0yNDEyMzExMDU0MjVaMCMxITAfBgNVBAMTGHpr
ZXZtLXRlc3RuZXQubmV4c2Nhbi5pbzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA
BNDYSfsTubLdyTY/7TZOtuqCLeNY4ujml8HyRNjlXCMmYW39nqfpfvGqfUZAhWgO
RCSyraSksOKSVST9TCjzEL6jggIbMIICFzAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0l
BBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYE
FDrfluHDbfwRUIjSNpjKXt9XC7rBMB8GA1UdIwQYMBaAFJ8rX888IU+dBLftKyzE
xnCL0tcNMFUGCCsGAQUFBwEBBEkwRzAhBggrBgEFBQcwAYYVaHR0cDovL2U1Lm8u
bGVuY3Iub3JnMCIGCCsGAQUFBzAChhZodHRwOi8vZTUuaS5sZW5jci5vcmcvMCMG
A1UdEQQcMBqCGHprZXZtLXRlc3RuZXQubmV4c2Nhbi5pbzATBgNVHSAEDDAKMAgG
BmeBDAECATCCAQUGCisGAQQB1nkCBAIEgfYEgfMA8QB3AEiw42vapkc0D+VqAvqd
MOscUgHLVt0sgdm7v6s52IRzAAABkk0TgTEAAAQDAEgwRgIhAMgszm/6MelDOKZp
RZq/4b6RanXgiK1aDtKjpWmL8+q2AiEA/Hkq2RGtLL7Yjwr5wwPwoL8D0hTZX8n0
DIzoFgO/LrIAdgCi4wrkRe+9rZt+OO1HZ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MS5pLmxlbmNyLm9yZy8wEwYDVR0g
BAwwCjAIBgZngQwBAgEwJwYDVR0fBCAwHjAcoBqgGIYWaHR0cDovL3gxLmMubGVu
Y3Iub3JnLzANBgkqhkiG9w0BAQsFAAOCAgEAH3KdNEVCQdqk0LKyuNImTKdRJY1C
2uw2SJajuhqkyGPY8C+zzsufZ+mgnhnq1A2KVQOSykOEnUbx1cy637rBAihx97r+
bcwbZM6sTDIaEriR/PLk6LKs9Be0uoVxgOKDcpG9svD33J+G9Lcfv1K9luDmSTgG
6XNFIN5vfI5gs/lMPyojEMdIzK9blcl2/1vKxO8WGCcjvsQ1nJ/Pwt8LQZBfOFyV
XP8ubAp/au3dc4EKWG9MO5zcx1qT9+NXRGdVWxGvmBFRAajciMfXME1ZuGmk3/GO
koAM7ZkjZmleyokP1LGzmfJcUd9s7eeu1/9/eg5XlXd/55GtYjAM+C4DG5i7eaNq
cm2F+yxYIPt6cbbtYVNJCGfHWqHEQ4FYStUyFnv8sjyqU8ypgZaNJ9aVcWSICLOI
E1/Qv/7oKsnZCWJ926wU6RqG1OYPGOi1zuABhLw61cuPVDT28nQS/e6z95cJXq0e
K1BcaJ6fJZsmbjRgD5p3mvEf5vdQM7MCEvU0tHbsx2I5mHHJoABHb8KVBgWp/lcX
GWiWaeOyB7RP+OfDtvi2OsapxXiV7vNVs7fMlrRjY1joKaqmmycnBvAq14AEbtyL
sVfOS66B8apkeFX2NY4XPEYV4ZSCe8VHPrdrERk2wILG3T/EGmSIkCYVUMSnjmJd
VQD9F6Na/+zmXCc=
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
-----BEGIN CERTIFICATE-----
MIIDkjCCAxigAwIBAgISA3mPsWSOuX0bGH635pf8aVwKMAoGCCqGSM49BAMDMDIx
CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQDEwJF
NTAeFw0yNDEwMDIxMDU0MjZaFw0yNDEyMzExMDU0M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8WGCcjvsQ1nJ/Pwt8LQZBfOFyV
XP8ubAp/au3dc4EKWG9MO5zcx1qT9+NXRGdVWxGvmBFRAajciMfXME1ZuGmk3/GO
koAM7ZkjZmleyokP1LGzmfJcUd9s7eeu1/9/eg5XlXd/55GtYjAM+C4DG5i7eaNq
cm2F+yxYIPt6cbbtYVNJCGfHWqHEQ4FYStUyFnv8sjyqU8ypgZaNJ9aVcWSICLOI
E1/Qv/7oKsnZCWJ926wU6RqG1OYPGOi1zuABhLw61cuPVDT28nQS/e6z95cJXq0e
K1BcaJ6fJZsmbjRgD5p3mvEf5vdQM7MCEvU0tHbsx2I5mHHJoABHb8KVBgWp/lcX
GWiWaeOyB7RP+OfDtvi2OsapxXiV7vNVs7fMlrRjY1joKaqmmycnBvAq14AEbtyL
sVfOS66B8apkeFX2NY4XPEYV4ZSCe8VHPrdrERk2wILG3T/EGmSIkCYVUMSnjmJd
VQD9F6Na/+zmXCc=
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgX60AAyDUVkn3a9l8
RpkFfEtRhacuFh4Sp9YMyQq802KhRANCAATQ2En7E7my3ck2P+02Trbqgi3jWOLo
5pfB8kTY5VwjJmFt/Z6n6X7xqn1GQIVoDkQksq2kpLDiklUk/Uwo8xC+
-----END PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-----BEGIN CERTIFICATE REQUEST-----
MIHxMIGYAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQEZqskT6u4wXCh
dq8C2l3OEfYmF7mjHPYxleH39g1YJs4uUEgi1I2Kl/zAXpGqBYq5l2d5/AKc49oC
X7T4qU0MoDYwNAYJKoZIhvcNAQkOMScwJTAjBgNVHREEHDAaghh6a2V2bS10ZXN0
bmV0Lm5leHNjYW4uaW8wCgYIKoZIzj0EAwIDSAAwRQIgU6HcSbFBQQUpr27qfwv4
nGubYICqABZF2FkEbb57XXMCIQDefUpKuTvhh2G3W45YFdW+LgbNxw5eB5qhZFgY
HHDSyg==
-----END CERTIFICATE REQUEST-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-----BEGIN CERTIFICATE REQUEST-----
MIHwMIGYAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATX5ZHL/HOZlUKN
QlyojrhXnaYAzH+iet/yOD0ieaRJ9nbQ7/QrWV3KEZV8Xo1ENb/kXAU20zFGeL95
FjnaKW3GoDYwNAYJKoZIhvcNAQkOMScwJTAjBgNVHREEHDAaghh6a2V2bS10ZXN0
bmV0Lm5leHNjYW4uaW8wCgYIKoZIzj0EAwIDRwAwRAIgHssdvG/yeMBVLiQpl5O8
6Xj1o+Eg2hv7c/fcIKwo3JUCIHOhF1vm9rtUl8ouUxdl3a1dx5i04uhy6Kgg2kB3
nQdp
-----END CERTIFICATE REQUEST-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-----BEGIN CERTIFICATE REQUEST-----
MIHxMIGYAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATQ2En7E7my3ck2
P+02Trbqgi3jWOLo5pfB8kTY5VwjJmFt/Z6n6X7xqn1GQIVoDkQksq2kpLDiklUk
/Uwo8xC+oDYwNAYJKoZIhvcNAQkOMScwJTAjBgNVHREEHDAaghh6a2V2bS10ZXN0
bmV0Lm5leHNjYW4uaW8wCgYIKoZIzj0EAwIDSAAwRQIhAOn6ILG/L7idAp+5v+Sm
oxOLulLI6OcTJhW4TWdvWBVCAiAMp/nqnMaDmYDofmhodaUO7DdCByO54WrGGKxu
1pYl0g==
-----END CERTIFICATE REQUEST-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgtvP9oErW2HgugXho
WKjWabVwfjI5T5M7eXtAiZNlR/GhRANCAAQEZqskT6u4wXChdq8C2l3OEfYmF7mj
HPYxleH39g1YJs4uUEgi1I2Kl/zAXpGqBYq5l2d5/AKc49oCX7T4qU0M
-----END PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg6oZxJGyCI0FTE6OZ
zOsnCEWIXBcttKHE6rzadHOh1JahRANCAATX5ZHL/HOZlUKNQlyojrhXnaYAzH+i
et/yOD0ieaRJ9nbQ7/QrWV3KEZV8Xo1ENb/kXAU20zFGeL95FjnaKW3G
-----END PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgX60AAyDUVkn3a9l8
RpkFfEtRhacuFh4Sp9YMyQq802KhRANCAATQ2En7E7my3ck2P+02Trbqgi3jWOLo
5pfB8kTY5VwjJmFt/Z6n6X7xqn1GQIVoDkQksq2kpLDiklUk/Uwo8xC+
-----END PRIVATE KEY-----

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 710f9ec

Please sign in to comment.