Task 3: Experiment with Other Ports
1. Choose Another Port and Repeat the Configuration
Task:
Choose another port (e.g., 9090) and repeat the process to create and enable a new site.
Explanation: This reinforces your understanding by applying the same steps to a different scenario, helping to solidify the concepts.
2. Test Multiple Sites Simultaneously
Task:
Run multiple sites on different ports and access them in the browser.
Explanation: Discuss the practical use cases of running multiple sites on a single server and how Nginx handles multiple server blocks.
3. Discuss Real-World Applications and Best Practices
Discussion Points:
- Security Considerations: Explain why running sites on non-standard ports might affect security, including the importance of using firewalls to restrict access and understanding the implications for user experience.
- Real-World Scenarios: Discuss scenarios like load balancing, running development and production environments on different ports, or hosting multiple domains on the same server.