Redirect http to https or turn on nginx
See original GitHub issueThis is probably me missing something, so hopefully a quick answer will do; I just couldn’t find the answer searching around setup/issues.
My app isn’t correctly redirecting 80 traffic to 443. My ssl is working if you specifically go to https:// but somewhere I must have deleted a line in mup.js or something.
- What goes in mup.js to force this redirect?
- OR how can I turn off the built in frontend, and I can setup my own nginx? (i.e. right now when I try and turn on nginx I get):
2017/03/08 21:53:44 [emerg] 23934#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2017/03/08 21:53:44 [emerg] 23934#0: bind() to 0.0.0.0:443 failed (98: Address already in use)
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Redirect HTTP to HTTPS in Nginx - Linuxize
The preferred method to redirect HTTP to HTTPS in Nginx is to configure a separate server block for each version of the site....
Read more >Activating NGINX to Redirect HTTP to HTTPS Traffic
Before you begin activating NGINX to Redirect HTTP to HTTPS traffic you must first have an SSL certificate installed on your web server....
Read more >Redirect HTTP to HTTPS in Nginx - Servers for Hackers
One method I like to do is catch-all port 80 ( http ) requests and redirect them to port 443 ( https )....
Read more >Nginx Redirect HTTP to HTTPS - Linux Hint
Nginx is a powerful redirecting tool that can be configured easily on your system to redirect the less secure or unencrypted HTTP web...
Read more >How do I redirect HTTPS to HTTP on NGINX? - Stack Overflow
The server will first do the https exchange, and THEN issue the redirect, in which case, what's the point? Will add more if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Mup 1.3 will be able to redirect
http
tohttps
.Are you using custom certificates or let’s encrypt? I think the nginx container used for let’s encrypt does this by default.
You can add the force-ssl package.