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 66386f7 commit a431015
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Dockerfile/Nginx.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ RUN sed -i '/location \/adminer\//,/}/d' /etc/nginx/conf.d/default.conf
# copy php files for ngnix to know they exist
COPY ../php/public /var/www/memoires-info/php/public

COPY ../climateguardian_dev.com-key.pem /etc/nginx/ssl
COPY ../climateguardian_dev.com.pem /etc/nginx/ssl

COPY ../climateguardian_dev.com-key.pem /etc/nginx
COPY ../climateguardian_dev.com.pem /etc/nginx
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ services:
volumes:
- "./.env:/var/www/memoires-info/html/.env"
- "./nginx.conf:/etc/nginx/conf.d/default.conf"
- "./climateguardian_dev.com.pem:/etc/nginx/ssl"
- "./climateguardian_dev.com-key.pem:/etc/nginx/ssl"
- "./climateguardian_dev.com.pem:/etc/nginx"
- "./climateguardian_dev.com-key.pem:/etc/nginx"
- "./php:/var/www/memoires-info/php/"
- ""
depends_on:
- php
- postg-rest
Expand Down
1 change: 0 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ server {
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 a431015

Please sign in to comment.