From 24529df9dce9ee9d81a491a7b36a4e329fc8c762 Mon Sep 17 00:00:00 2001 From: RyanAquino Date: Wed, 26 Jul 2023 22:05:19 +0800 Subject: [PATCH] ZDL-123: Bug fix: Update order email link and text to zadala.store --- deployments/docker-compose.prod.yml | 2 ++ deployments/nginx/default.conf | 5 +++-- templates/invoice_email_template.html | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/deployments/docker-compose.prod.yml b/deployments/docker-compose.prod.yml index da9fbf2..a645496 100644 --- a/deployments/docker-compose.prod.yml +++ b/deployments/docker-compose.prod.yml @@ -24,6 +24,7 @@ x-common-variables: &common-variables SUPER_USER_EMAIL: admin@email.com SUPER_USER_PASSWORD: admin123 GUNICORN_WORKERS: 4 + ENV: prod services: @@ -79,6 +80,7 @@ services: image: nginx:latest volumes: - ./nginx/default.conf:/etc/nginx/conf.d/default.conf + - ../static:/static ports: - "80:80" expose: diff --git a/deployments/nginx/default.conf b/deployments/nginx/default.conf index 0260181..dec6529 100644 --- a/deployments/nginx/default.conf +++ b/deployments/nginx/default.conf @@ -19,7 +19,8 @@ server { proxy_pass http://zadala; } - location ~ ^/(/admin|/api-docs) { - alias /staticfiles; + location /images/ { + autoindex on; + alias /static/images/; } } \ No newline at end of file diff --git a/templates/invoice_email_template.html b/templates/invoice_email_template.html index 632627b..4d7719a 100644 --- a/templates/invoice_email_template.html +++ b/templates/invoice_email_template.html @@ -494,7 +494,7 @@

We received your order on {{ date_ordered }} and you’ll be paying for this via Cash on delivery. We wish you enjoy shopping with us and hope to see you again real soon!

 

-

zadala.herokuapp.com

+

zadala.pages.dev