---
title: "Konfiguration av webbapplikation"
description: "F\u00F6ljande JSON \u00E4r ett exempel f\u00F6r denna standardiserade konfigurationskomponent."
language: sv
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/sv/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:22Z
license: https://documentation.invantive.eu/sv/
---

## Exempel
Följande JSON är ett exempel för denna standardiserade konfigurationskomponent:
```json
{ "AccessControl": ...
, "RateLimitControl": ...
, "DefaultResponseHeaders": ...
, "LogTraceToFile": false
, "LogRequestProgress": false
}
```

## Definition
Hänvisningar görs till konfigurationskomponenter som standardiserats i alla Invantive-teknikens webbapplikationer, även om inte alla konfigurationskomponenter behöver vara implementerade i alla webbapplikationer:
- [[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
    }
  }
}
```
