---
title: "Web-sovelluksen m\u00E4\u00E4ritykset"
description: "Seuraava JSON on esimerkki t\u00E4lle standardoidulle konfiguraationosalle."
language: fi
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/fi/docs/application-setting-components/web-application-configuration
original: https://documentation.invantive.eu/en/docs/application-setting-components/web-application-configuration
updated: 2026-12-05T23:20:18Z
license: https://documentation.invantive.eu/fi/
---

## Esimerkkejä
Seuraava JSON on esimerkki tälle standardoidulle konfiguraationosalle:
```json
{ "AccessControl": ...
, "RateLimitControl": ...
, "DefaultResponseHeaders": ...
, "LogTraceToFile": false
, "LogRequestProgress": false
}
```

## Määritelmä
Viitataan määrityskomponentteihin, jotka on standardoitu kaikissa Invantive-teknologian verkkosovelluksissa, vaikka kaikkia määrityskomponentteja ei ole pakko toteuttaa kaikissa verkkosovelluksissa:
- [[Access Control Configuration]]
- [[Rate Limit Control Configuration]]

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://invantive.com/schemas/defs/WebApplicationSetting.schema.json",
  "title": "WebApplicationSetting",
  "description": "Web application configuration.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "AccessControl": {
      "anyOf": [
        {
          "$ref": "./AccessControl.schema.json"
        },
        {
          "type": "null"
        }
      ],
      "description": "Access Control configuration."
    },
    "RateLimitControl": {
      "anyOf": [
        {
          "$ref": "./RateLimitControl.schema.json"
        },
        {
          "type": "null"
        }
      ],
      "description": "Rate limit control configuration."
    },
    "DefaultResponseHeaders": {
      "type": ["object", "null"],
      "additionalProperties": {
        "type": "string"
      },
      "description": "Default response HTTP headers."
    },
    "LogTraceToFile": {
      "type": ["boolean", "null"],
      "description": "Whether to create log file for trace.",
      "default": false
    },
    "LogRequestProgress": {
      "type": "boolean",
      "description": "Whether to create log file per request.",
      "default": false
    }
  }
}
```
