We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c4c759 commit 0d191dbCopy full SHA for 0d191db
docs/AppSettings.md
@@ -0,0 +1,21 @@
1
+## アプリケーション設定
2
+
3
+### Web.config
4
+Web.config には、 次のようなアプリケーション設定があります。
5
6
+```xml
7
+<configuration>
8
+ <appSettings>
9
+ <add key="app:RequireHttps" value="true" />
10
+ <add key="app:PermanentHttps" value="false" />
11
+ </appSettings>
12
+</configuration>
13
+```
14
15
+それぞれの説明は次の通りです。
16
+- `app:RequireHttps`
17
+ - HTTPS を必須とする場合は `true` を指定します。
18
+ - HTTP でアクセスすると、HTTPS の URL にリダイレクトされます。
19
+- `app:PermanentHttps`
20
+ - リダイレクト時に HTTPS を永続化する場合は `true` を指定します。
21
+ - すなわち、HTTP ステータス コードは `true` のとき 301、`false` のとき 302 です。
0 commit comments