Added method to nginx and upgraded postgres version

This commit is contained in:
Narayana 2023-03-08 10:46:34 +05:30
parent 9e5fea407e
commit cd77296281
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ services:
# - plane-web
- plane-api
db:
image: postgres:12-alpine
image: postgres:14-alpine
container_name: db
restart: always
volumes:

View File

@ -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 *;