# noust webserver

Which web server serves each site, and moving them to the other one.

```bash
noust webserver [OPTIONS] COMMAND [ARGS]...
```

Subcommands: [`migrate`](#noust-webserver-migrate), [`plan`](#noust-webserver-plan), [`status`](#noust-webserver-status)

## noust webserver migrate

Move sites to the other web server, and put everything back if one does not answer.

```bash
noust webserver migrate [OPTIONS] [DOMAINS]...
```

Arguments: `domains`

| Option | What it does | Default |
|---|---|---|
| `--to` | The web server to move them to. |  |
| `--all` | Every application and site behind the other web server: what a handover of ports 80 and 443 moves. |  |
| `--accept-losses` | Go ahead although the new sites will not do everything the old ones did. |  |
| `--yes`, `-y` | Do not ask for confirmation. |  |
| `--json` | Print the plan (or, with --yes, its result) as JSON. |  |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

## noust webserver plan

Show what moving sites to a web server would do. Changes nothing.

```bash
noust webserver plan [OPTIONS] [DOMAINS]...
```

Arguments: `domains`

| Option | What it does | Default |
|---|---|---|
| `--to` | The web server to move them to. |  |
| `--all` | Every application and site behind the other web server: what a handover of ports 80 and 443 moves. |  |
| `--show` | Print the translated site of this one in full. |  |
| `--json` | Print the plan as JSON. |  |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

## noust webserver status

Show the web server of new applications and what is behind each.

```bash
noust webserver status [OPTIONS]
```

| Option | What it does | Default |
|---|---|---|
| `--json` | Print what is behind each web server as JSON. |  |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

