Skip to content

Commit

Permalink
fix: create certification
Browse files Browse the repository at this point in the history
Closes: #204
  • Loading branch information
ColinRgm committed Jan 20, 2025
1 parent 7320efc commit 37b4b35
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
28 changes: 28 additions & 0 deletions climateguardian_dev.com-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDDQBC2NvKx2RO+
z56r0F73AVTNwwE6UW5108vIktUgdZJGnycYrHCd0yMfyisArS5kQTpi2xOb3Dkg
KmllENjH3NSMih6KjsSf8hAe+/aUBtdE9zDXNUcaUHBtX6LAvbQTiw19QpomzE3j
Wjgbeox4trpNq0v0VDm0+bFq/q7DrYAlmuGcNwrTWT3cYMYYZ7AMpAt0BHx5Rehn
gka4prBVYAiDacoxC+8knPaIqxf8X/4rjm8QobRsB6LiHFQPcd7tERRxMaLj/wrR
e1HaRMtRXUDXhtVrLGgZeGB6vAFGKE5MynfIOBagMak9K5JIErIht7DaDXov6IQg
/U9C9Ed7AgMBAAECggEBAKhhaYganvXtJPAbENVPH3aYuU+xai+m5kHK4yUYK6CQ
hBNPUWIf5AbXfKT/rlIpB6cB8Z4rHB//rWwl5zp3atwBf3Or8WbAdKUTFgACfsVt
mNwq6P3PPoBc+nf4T900PEXWV0280D/BVTJKLbTU3KuFuekdXqVYtWNzKiQBeynX
xJWdRJPdfQM6rccByKU/P1Ca08zSUVe+pMjnIra9MFVNKW/E12JXIpbvIkZo79Xi
G/42ubBImmCRwYOZioUP4TH8v+z3KeIRlOfBiiKJyEFD4luvFHWi76O863uwvezW
h6T4rgJ5VJuq009IAT9EXOnalf68BHcr54EAVu39eFECgYEA+TkSh7tRR645UAdo
lI+fBsKQBIMQwKeLnSjyuelWhqpEQp7t8XtfM4PPhoDP0LQ3i7qW/vv6P+iktvkX
yjn/jK9sqKo2x8ZebdY90UKxFiYHr8lFdFoKr7RAICBFnwVscUqFM9mh8cuJplSO
pMH55JpQ91UZexQ575To1kXrPd8CgYEAyI9FL7QVAFXyBa+TYHSgvpjRpkhadnHW
bdDYyQRTw29GkuBxMmg5+kMdbHRVVH7NcLWj2a12BqFs97eT4R/IjaRDeKkZIvLR
EyRI6s8p6+PrySIbOMTbby+iAqiM7vy+V+NjAsh1vBXWu8tmj9/iDI+VeFn+t43l
nGpYQLiZ8eUCgYBl2Jrn+PaoUlx9hemI/IBCZPQxw9XuxQla+kbnDqIbei1XBFe8
nWw0QyNllfJXGa6xXVkjbpm/0DSvyW+dZsI2HeJLsvOcBEbGoAy3HYf8wyHVBm1p
tPo0/3ZNKqMI71B3o7p3i/KQO1tPK7L3RYX3k9COoqo9D/D1JWdZWU1fBQKBgQCL
AwsQeoCIAApFuKGtHImCMkg2OjZBnLvk1/o6sn4gmxNOoLS1HJr7BOPzFVtDurRI
6A2OxnVlOSRfOuYMB0yqKG3/xy0+FRGnc+H6pubGsu7uNW6q1X/HPDvOHee5ioOg
RWKOPkWkvXpeJiiLlsGGtUsD5VTxAzBgTzGmgo1ppQKBgQCbevVdjHhGxPb1CqEs
nF/hUZTAuCMihyIseeGWIXkuoff8aAJMZJSCgZeWOVhdU+dEJO+0UccT2EwIhUIR
R8VeOGWwEqOJUxze4vmdsz5imc6EjTq333qfWYn1Z7yZCHTW21+MGk49kYLCCrLh
8PQJpjznjuOwEij/bQeebhsHmw==
-----END PRIVATE KEY-----
27 changes: 27 additions & 0 deletions climateguardian_dev.com.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN CERTIFICATE-----
MIIEgDCCAuigAwIBAgIQTiR5EgeCDZ8t0+xNmVvuIjANBgkqhkiG9w0BAQsFADB7
MR4wHAYDVQQKExVta2NlcnQgZGV2ZWxvcG1lbnQgQ0ExKDAmBgNVBAsMH2NvbGlu
QEpULTI0LTExLTA3LUNvbGluIChDb2xpbikxLzAtBgNVBAMMJm1rY2VydCBjb2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ktHw3Hajfj3i/KiObaWZbw+u25
IXxGGeWPPNGHacJvVNya8kSzqViHpOWy5Op0AC8VQSoppLTBu7suRSzmlFuPm6iU
ZZCWzy91vBzb+YwI87NSXbB8S/z6FMQ55nx0OZ07UX2PYSTaME3S9zuflPV+FoFX
8O22rxXPd5/V6zUB6j8MphoV5OhX00ecijEj1wB4pOgaakdohGJ69xT3ztynnZ8T
mtyM0TBALDbSyFhG7tUuaZIWzHkPs5tVzW9a2oZZ3z6XkdhtKdiCWGbqBMEvIpGD
s5rHIA==
-----END CERTIFICATE-----
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ services:
volumes:
- "./.env:/var/www/memoires-info/html/.env"
- "./nginx.conf:/etc/nginx/conf.d/default.conf"
- "./nginx/certs:/etc/nginx/ssl"
- "./php:/var/www/memoires-info/php/"
depends_on:
- php
Expand Down
10 changes: 10 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ server {
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;

listen 80;
listen [::]:80;

server_name climateguardian_dev.com;

ssl_certificate climateguardian_dev.com.pem;
ssl_certificate_key climateguardian_dev.com-key.pem;



location /php {
root /var/www/memoires-info/php/private;
rewrite ^/php(.*)$ $1 break;
Expand Down

0 comments on commit 37b4b35

Please sign in to comment.