https://github.com/chassis/redirect_to_https
Redirect all HTTP links received by your virtual machine to their HTTPS equivalents.
https://github.com/chassis/redirect_to_https
Last synced: 16 days ago
JSON representation
Redirect all HTTP links received by your virtual machine to their HTTPS equivalents.
- Host: GitHub
- URL: https://github.com/chassis/redirect_to_https
- Owner: Chassis
- Created: 2020-06-12T18:17:04.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2020-06-12T20:07:54.000Z (about 6 years ago)
- Last Synced: 2025-11-13T21:23:21.847Z (8 months ago)
- Language: Puppet
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redirect to HTTPS
This [Chassis extension](https://docs.chassis.io/en/latest/extend/) adds an [Nginx](https://www.nginx.com/) rule within your Chassis virtual machine to redirect unsecured `http` URLs to their `https` equivalent.
It is designed to be used in conjunction with the ["chassis_openssl" extension](https://github.com/Chassis/chassis_openssl), which adds SSL support to your Chassis box.
## Usage
1. Clone this into the `extensions` folder of your Chassis installation, or list `redirect_to_https` in your [Chassis configuration file's extensions list](https://docs.chassis.io/en/latest/config/#extensions).
2. Run `vagrant up` if you have not yet initialized your virtual machine, or `vagrant provision` if your VM is already up and running.
All URLs within your virtual environment should now redirect from `http` to `https`.