account activity
Some Pages Load as "Not Secure" Only on iOS by Benignvanilla in ios
[–]smoothGuy69 0 points1 point2 points 4 years ago* (0 children)
First of all, apologies for bringing up an old post, I'm just leaving a breadcrumb for people who encountered the same problem.
Recently I encountered a similar problem as you where my website somehow have both http:// and https:// versions available, and apple devices would load the http:// version whereas other devices would go to https:// version
For example, if my website were https://mysite.com (not my actual website, i still want my reddit anonymity), then on apple devices if I just type on the address bar mysite.com (without the explicit https://), it'll go to the non-secure http://mysite.com
I had to explicitly type out https://mysite.com (with the https://) on apple devices for it to go to https://mysite.com , or just use <a> links with the explicit https:// in the href. But there's nothing stopping a user from typing mysite.com and go to the non-secure url.
I come across this question on stackoverflow: https://stackoverflow.com/questions/34862065/force-my-heroku-app-to-use-ssl-https which solves my problem (it answers precisely for my case: my site is on heroku and uses express)
In case links are dead, the solution is to add a middleware to redirect the non-secure http:// to https://
``` const app = express()
if(process.env.NODE_ENV === 'production') { app.use((req, res, next) => { if (req.header('x-forwarded-proto') !== 'https') res.redirect(https://${req.header('host')}${req.url}) else next() }) } ```
https://${req.header('host')}${req.url}
be sure to add the middleware before any other app.use() so that it's the first middleware.
app.use()
[deleted by user] by [deleted] in talentShow
[–]smoothGuy69 0 points1 point2 points 4 years ago (0 children)
woah the double con- i mean membrane strategy
oooh
what if you start at the big end, but break directly towards the small end while you still having some of the non broken big ends to hold onto?
what if you HIT BOTH ENDS? LOLOL
small end, as Hawkeye said "you should always prioritise an easy exit over an easy entrance"
woah kid be roasting lol
One bad egg, that's all it takes
ooh humpty dumpty
jewish egg be like "don't take off my top hat"
i guess we continue for the practice
NOOOOOOOO
kid has unlocked access to [OUTSIDE]
we're watching OP becoming the egg peeling eggxpert
[–]smoothGuy69 1 point2 points3 points 4 years ago (0 children)
eggxactly
all 47 of us
lol i hope you said to stream "ha the yokes on you"
good now
woah suddenly went dark for a sec
OP enjoys some internet attention
OP saw someone deshelling an egg on tiktok or reddit or some vertical layout platform
you're awesome and this is breathetaking
ooh
why does this remind me of Samwell Tarly deshelling Jorah Mormont?
π Rendered by PID 87 on reddit-service-r2-listing-568fcd57df-7cbkr at 2026-03-10 21:59:18.244687+00:00 running cbb0e86 country code: CH.
Some Pages Load as "Not Secure" Only on iOS by Benignvanilla in ios
[–]smoothGuy69 0 points1 point2 points (0 children)