From cd77296281b0f722ed0c1a47480bae8d9962c27a Mon Sep 17 00:00:00 2001 From: Narayana Date: Wed, 8 Mar 2023 10:46:34 +0530 Subject: [PATCH] Added method to nginx and upgraded postgres version --- docker-compose.yml | 2 +- nginx/nginx.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2ac5ed9dc..e31476424 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: # - plane-web - plane-api db: - image: postgres:12-alpine + image: postgres:14-alpine container_name: db restart: always volumes: diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 19affbde1..8545a5348 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -30,7 +30,7 @@ server { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Access-Control-Allow-Headers Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token; - proxy_set_header Access-Control-Allow-Methods OPTIONS,POST,GET; + proxy_set_header Access-Control-Allow-Methods OPTIONS,POST,GET,PUT; proxy_set_header Access-Control-Allow-Credentials true; proxy_set_header Access-Control-Allow-Origin *; proxy_set_header X-Requested-With *; @@ -40,7 +40,7 @@ server { proxy_set_header Host $host; proxy_set_header Content-Type application/json; proxy_set_header Access-Control-Allow-Headers Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token; - proxy_set_header Access-Control-Allow-Methods OPTIONS,POST,GET; + proxy_set_header Access-Control-Allow-Methods OPTIONS,POST,GET,PUT; proxy_set_header Access-Control-Allow-Credentials true; proxy_set_header Access-Control-Allow-Origin *; proxy_set_header X-Requested-With *;