nuxt-community / pwa-template

PWA template for vue-cli based on the starter template
MIT License
133 stars 12 forks source link

How to redirect to HTTPS #4

Closed PiusNyakoojo closed 7 years ago

PiusNyakoojo commented 7 years ago

How can you setup forced https redirects? Thank you!

This question is available on Nuxt.js community (#c2)
pi0 commented 7 years ago

Hey. Option 1: Using cloud providers always with on HTTPS feature. (like cloudflare) Option 2: Using a global middleware like this: https://github.com/nuxt/hackernews/blob/master/middleware/https.js

PiusNyakoojo commented 7 years ago

Sweet, thank you :)