⭐️ GOAL: Learn more about HTTPS, SSL, and how to keep your projects secure using environment variables.
- [20m] Activity: Blog Brainstorming
- [10m] Discuss: Share Your Ideas
- [20m] Investigate: Let's Encrypt
- [10m] BREAK
- [20m] TT: HTTPS and Environment Variables on CapRover
- [15m] Demo & Mini-Challenge: Enable HTTPS on CapRover
- [25m] Lab Time: Blog Post, Project, or Presentation
- Compare and contrast HTTP and HTTPS.
- Enable HTTPS on your CapRover applications.
Work on brainstorming potential titles and subjects for your final blog post in a breakout group. Remember, it's due next week!
Write down and decide on your favorites. We'll discuss them later in class!
The instructor will ask students to share one idea each.
In breakout groups, use the CapRover Documentation and the Let's Encrypt documentation to answer the following questions:
- What is Let's Encrypt?
- Who uses it?
- Why is it important?
- How does Let's Encrypt relate to CapRover?
- Should you always use HTTPS in your applications?
Use the CapRover Documentation to highlight the steps to configuring HTTPS and environment variables on a CapRover instance.
- Navigate to the Apps page on your CapRover dashboard.
- Select the first app you deployed.
- Click the
Enable HTTPS
button on theHTTP Settings
page. - Check the
Force HTTPS by redirecting all HTTP traffic to HTTPS
checkbox. - Click
Save & Update
. - Repeat for the second application you deployed!
Use the remainder of class time to continue working on your final project, due next Friday!