Skip to content

Commit c5cf728

Browse files
committed
Point to the correct location for locations key
1 parent f7d4065 commit c5cf728

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

sites/platform/src/create-apps/troubleshoot-mounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can then put the mount back in place.
4242
## Mounted files not publicly accessible
4343

4444
If you've set up mounts to handle files like user uploads, you want to make sure the files are accessible.
45-
Do so by managing their [location](/create-apps/app-reference/single-runtime-image.md#locations).
45+
Do so by managing their [location](/create-apps/image-properties/web.md#locations).
4646
4747
This example defines two mounts, one named `private` and one `upload`:
4848

sites/platform/src/create-apps/web/static.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ web:
4141
See more information on the required minimal settings:
4242
- [Top-level properties](/create-apps/app-reference/single-runtime-image.md#top-level-properties).
4343
- [`web` property](/create-apps/image-properties/web.md).
44-
- [`locations` properties](/create-apps/app-reference/single-runtime-image.md#locations).
44+
- [`locations` properties](/create-apps/image-properties/web.md#locations).
4545

4646
## Add more features
4747

@@ -62,7 +62,7 @@ web:
6262
allow: true
6363
```
6464

65-
See more information on [`locations` properties](/create-apps/app-reference/single-runtime-image.md#locations).
65+
See more information on [`locations` properties](/create-apps/image-properties/web.md#locations).
6666

6767
### Create cache rules
6868

sites/platform/src/dedicated-environments/dedicated-gen-2/environment-differences.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The following settings require a [support ticket](/learn/overview/get-support.md
103103
* Increasing storage
104104
* Allocating storage among mounts and services
105105
* [PHP extensions](/languages/php/extensions.md)
106-
* Web server configuration (the [`web.locations` section of your app configuration](/create-apps/app-reference/single-runtime-image.md#locations))
106+
* Web server configuration (the [`web.locations` section of your app configuration](/create-apps/image-properties/web.md#locations))
107107

108108
## Logs
109109

sites/platform/src/define-routes/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ which is a requirement for the router caching.
485485
enabled: false
486486
```
487487

488-
2. [Disable request buffering](/create-apps/app-reference/single-runtime-image.md#locations) in your app configuration.
488+
2. [Disable request buffering](/create-apps/image-properties/web.md#locations) in your app configuration.
489489

490490
```yaml {configFile="app"}
491491
web:

sites/platform/src/development/troubleshoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ and [cookie entry](/define-routes/cache.md#cookies).
311311
Because the router cache follows cache headers from your app,
312312
your app needs to send the correct `cache-control` header.
313313

314-
For static assets, set cache headers using the `expires` key in your [app configuration](/create-apps/app-reference/single-runtime-image.md#locations).
314+
For static assets, set cache headers using the `expires` key in your [app configuration](/create-apps/image-properties/web.md#locations).
315315

316316
## Language-specific troubleshooting
317317

sites/platform/src/environments/search-engine-visibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ It's automatically on for all `{{% vendor/cli %}}.site` domains, and it's automa
5858

5959
You can also send instructions to search engine indexers using a `robots.txt` file.
6060
Your app can serve this as a static file from its disk or as a dynamic response from its `passthru`.
61-
Control either with the [`location` section of your app configuration](/create-apps/app-reference/single-runtime-image.md#locations).
61+
Control either with the [`location` section of your app configuration](/create-apps/image-properties/web.md#locations).
6262

6363
If your `robots.txt` file includes instructions to ignore a page,
6464
search engine indexers may ignore it even if you have configured {{% vendor/name %}} to not send the header.

sites/platform/src/guides/drupal/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ For Drupal sites, the name of the session cookie is based on a hash of the domai
4141
If you see a bare "File not found" error when accessing your Drupal site with a browser,
4242
you've pushed your code as a vanilla project but no `index.php` has been found.
4343

44-
Make sure your repository contains an `index.php` file in the [web location root](/create-apps/app-reference/single-runtime-image.md#locations).
44+
Make sure your repository contains an `index.php` file in the [web location root](/create-apps/image-properties/web.md#locations).

sites/platform/src/languages/php/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ type: 'php:{{% latest "php" %}}'
7878
```
7979
### 2. Serve your app
8080
81-
To serve your app, define what (and how) content should be served by setting the [`locations` parameter](/create-apps/app-reference/single-runtime-image.md#locations).
81+
To serve your app, define what (and how) content should be served by setting the [`locations` parameter](/create-apps/image-properties/web.md#locations).
8282

8383
Usually, it contains the two following (optional) keys:
8484

sites/platform/src/security/web-application-firewall/waf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ The WAF enforces a file upload limit.
9595
By default, this limit is set at 250 MB.
9696

9797
You can customize the file upload limit by amending your [app configuration](/create-apps/_index.md).
98-
In the [`web.locations` dictionary](/create-apps/app-reference/single-runtime-image.md#locations),
98+
In the [`web.locations` dictionary](/create-apps/image-properties/web.md#locations),
9999
add your desired value for the `max_request_size` property.
100100

101101
### File extension restriction
102102

103103
The WAF enforces any file extension restriction you may have defined in your [app configuration](/create-apps/_index.md).
104104

105105
To set up a file extension restriction,
106-
adjust the [`web.locations` dictionary](/create-apps/app-reference/single-runtime-image.md#locations).
106+
adjust the [`web.locations` dictionary](/create-apps/image-properties/web.md#locations).
107107
Set up [rules](/create-apps/image-properties/web.md#rules) to allow only certain file extensions on a given path.
108108

109109
### Disallowed requests and headers

sites/upsun/src/create-apps/image-properties/web.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ applications:
110110
{{< /codetabs >}}
111111

112112

113-
### Upstream
113+
### `upstream` {#upstream}
114114

115115
{{< codetabs >}}
116116

@@ -186,7 +186,7 @@ Where to listen depends on your setting for `web.upstream.socket_family` (defaul
186186
If your application isn't listening at the same place that the runtime is sending requests,
187187
you see `502 Bad Gateway` errors when you try to connect to your website.
188188

189-
### Locations
189+
### `locations` {#locations}
190190

191191
Each key in the `locations` dictionary is a path on your site with a leading `/`.
192192
For `example.com`, a `/` matches `example.com/` and `/admin` matches `example.com/admin`.

0 commit comments

Comments
 (0)