Ignore Postgres SSL errors on Heroku
The connection to Heroku's Postgres instances must use SSL, but not check the certificate. This adds the necessary configuration to the Heroku setup script. Fixes #1245 Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
		
							parent
							
								
									3e836d815b
								
							
						
					
					
						commit
						86be1243f8
					
				
							
								
								
									
										10
									
								
								bin/heroku
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								bin/heroku
									
									
									
									
									
								
							@ -6,6 +6,16 @@ cat << EOF > config.json
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  "production": {
 | 
			
		||||
    "db": {
 | 
			
		||||
      "dialect": "postgres",
 | 
			
		||||
      "protocol": "postgres",
 | 
			
		||||
      "dialectOptions": {
 | 
			
		||||
        "ssl": {
 | 
			
		||||
           "require": true,
 | 
			
		||||
           "rejectUnauthorized": false
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user