no debil no
This commit is contained in:
@@ -16,6 +16,15 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /attachments {
|
||||
proxy_pass http://relay-server:3000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
|
||||
location ~* \.io {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
CLIENT_PORT=80
|
||||
CLIENT_PORT=5000
|
||||
|
||||
SERVER_PORT=3000 #DO NOT CHANGE
|
||||
JWT_SECRET=fdsfsdfds@
|
||||
|
||||
@@ -6,7 +6,7 @@ const client = new Client({
|
||||
password: process.env.PG_PASSWORD,
|
||||
database: process.env.PG_DATABASE,
|
||||
host: process.env.PG_HOST,
|
||||
port: 5433,
|
||||
port: 5432,
|
||||
});
|
||||
|
||||
client
|
||||
|
||||
Reference in New Issue
Block a user