Skip to content
LogoTethys Platform Documentation
Tutorials SDK CLI Tethys Portal Migrate Apps GitHub
  • Features
    • Software Suite
    • Python Software Development Kit
    • Templating and Gizmos
    • Tethys Portal
    • Computing
    • Acknowledgements
  • What's New
    • Release 4.0
      • Python 3.10
      • Django 3.2
      • Bootstrap 5
      • Controller Decorators
      • WebSocket URLs
      • Tethys Map Layout
      • Comprehensive Tethys Manage Command
      • Tethys Docker Command
      • Static Dependencies
      • Custom Job Actions
      • Scheduler App Settings
      • Showcase Apps
      • Apps Library
      • App Settings
      • Proxy Apps
      • Tethys Portal
      • Documentation
      • Miscellaneous Changes
      • Bug Fixes
      • Security Fixes
    • Prior Release Notes
      • Prior Release Notes
  • Getting Started
    • Prerequisites
    • 1. Install the tethys-platform Conda Package
    • 2. Activate the Tethys Conda Environment
    • 3. Create a portal_config.yml File
    • 4. Configure the Tethys Database
    • 5. Start the Development Server
    • 6. Next Steps
    • Related Docs
      • System Requirements
      • Tethys Portal Configuration
      • Application Installation
      • Showcase Apps
      • Upgrade to 4.0
      • Production Installation Guide
      • Developer Installation
      • Using Docker
      • Web Admin Setup
  • Upgrade to 4.0
    • Upgrading 3.X to 4.X and 4.X Versions
      • Upgrading 3.X to 4.X Notes
      • Upgrading 4.X Notes
      • Upgrade Steps
      • Additional Upgrade Steps for Production Installations
  • Tutorials
    • Start Here
      • Key Concepts
    • Spatial Data
      • GeoServer
      • THREDDS
      • Google Earth Engine
    • Computing
      • Dask Tutorial
    • Other
      • WebSockets Concepts
      • Bokeh Integration Concepts
      • Quotas Concepts
  • Development Guides
    • Command Line Interface
      • Commands
      • version command
      • app_settings command
      • db command
      • docker command
      • gen command
      • install command
      • uninstall command
      • link command
      • list command
      • manage command
      • scaffold command
      • schedulers command
      • services command
      • settings command
      • site command
      • syncstores command
      • test command
    • Software Development Kit
      • App Base Class API
      • App Templating API
      • App Settings API
      • Handoff API
      • Jobs API
      • Layouts API
      • Permissions API
      • REST API
      • Routing API
      • Template Gizmos API
      • Testing API
      • Tethys Extensions API
      • Tethys Quotas API
      • Tethys Services APIs
      • Workspaces API
      • Experimental Static Resources
    • Tethys Portal
      • Tethys Portal Configuration
      • Administrator Pages
      • Tethys Users
      • Developer Tools
      • App Feedback
    • Software Suite
      • Spatial Database Storage
      • Map Publishing
      • Geoprocessing
      • Visualization
      • Distributed Computing
      • File Dataset Storage
      • WebSocket Communication
      • Docker Installation
      • SDK Relationships
      • References
  • Production Installation Guide
    • Production vs. Development
    • Production Installation Methods
      • Manual Installation
      • Cloud Virtual Machine Images
      • Docker Deployment
    • References
  • Source Code
  • Contribute
    • Development Installation
    • Resources
  • Supplemental
    • Key Concepts
      • What is an App?
      • Web Frameworks
      • URL Design and REST Paradigm
    • App Project Structure
      • Release Package
      • The App Package
      • Naming Conventions
    • Terminal Quick Guide
      • $
      • ~
      • sudo
      • cd
      • mkdir
      • chown
      • Copy and Paste
    • Ubuntu Installation
    • Test Docker Containers
    • PGAdmin III Tutorial
    • Glossary
    • References

Configure HTTPS (Recommended)

Last Updated: November 2021

HTTPS is the secure way of serving websites that won't compromise the data of the website or your users. Most web browsers will warn users when they are using a site that is not secured with HTTPS, which can be a deterrent for some users. This method involves configuring Nginx on the VM to manage the SSL certificates required for HTTPS. The good news is that using Certbot, this can be completely automated after some initial set up.

  1. Complete the Certbot section of the Configure HTTPS tutorial to obtain free SSL certificates and configure Nginx for HTTPS/SSL.

  2. Open the HTTPS port for the Azure VM if you did not do so already when creating the VM:

    1. Navigate to the Overview page for the VM Resource.

    2. Click on Networking in left navigation panel.

    3. Click on the Add inbound port rule button.

    4. Fill out the Add inbound security rule form as follows:

      • Source: Any

      • Source port ranges: *

      • Destination: Any

      • Service: HTTPS

      • Action: Allow

      • Priority: <use_default>

      • Name: HTTPS

      • Description: <leave_blank>

    5. Press the Add button.

Add inbound security rule form filled out.
Figure 1. Add inbound security rule form filled out.
  1. Visit your portal url using HTTPS to verify that it worked (e.g. "https://myfirsttethys.org"). Look for the indicator in your web browser, usually a lock symbol.

Screenshot of a Tethys Portal showing HTTPS secure symbol
Figure 2. Screenshot of a Tethys Portal showing HTTPS secure symbol.
Previous Assign Domain Name (Recommended)
Next Set up Forgotten Password Recovery (Recommended)
© 2023, Tethys Platform Made with Sphinx 5.3.0