redirect - Nginx redirecting before HSTS certificate error -


so issue i'm having seems cert cacert.org , hsts set if visit www.domain.com error, while if visit domain.com (no-www) certificate fine.

what i'd redirect www no-www (you can't have wildcard certs cacert) seems being interrupted because browser's been website hsts enabled before, loads www.domain.com website , throws lovely great error onto page. , of course because hsts in use there's no way bypass certificate error! informs issue should temporary. respectively in firefox , chromium:

this site uses http strict transport security (hsts) specify firefox connect securely. result, not possible add exception certificate.

and

you cannot visit www.domain.com right because website uses hsts. network errors , attacks temporary, page work later.

i'm open suggestions! thought redirecting www no-www best answer, if can suggest else i'm listening (second certificate www perhaps? seems little overdoing it).


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -