Skip to content

Commit

Permalink
Add properties to use https on ec2 deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
viepovsky committed Jan 5, 2024
1 parent ab337ab commit 7cc8da9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ build/
### VS Code ###
.vscode/

### MACOS ###
.DS_Store

AWS
*.pem
DEPLOY_TO_AWS.md
*.jks
docker-compose-testing.yml
8 changes: 7 additions & 1 deletion src/main/resources/application-deploy.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ airquality.api.key=${AIRQUALITY_API_KEY}
airquality.api.host=air-quality-by-api-ninjas.p.rapidapi.com

# VALIDATION
server.error.include-message=always
server.error.include-message=always

# HTTPS = HTTP + TLS
server.port=443
server.ssl.key-password=${KEY_PASSWORD}
server.ssl.key-store-password=${KEY_PASSWORD}
server.ssl.key-store=src/main/resources/keystore.jks

0 comments on commit 7cc8da9

Please sign in to comment.