LoginSignup
1
0

More than 3 years have passed since last update.

https表示が出来なくなっても、httpで表示する方法

Posted at

前提として、URLは http: でアクセスしてもらう。
(https:でアクセスした時、フェイルオーバーでhttp:にアクセスするように指定しておくのも良い。)

  • https://〜/func.js を読むように記述。
  • http:でアクセスしている場合、https:にリダイレクトする処理をfunc.jsに書く。ここでhttps:にアクセスするときに警告が出る場合は、https://〜/func.jsを読めないためhttp:にとどまる。
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0