Skip to content

Commit 5ec1c04

Browse files
committed
Acrolinx fixes
1 parent c9ee35c commit 5ec1c04

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/spring-apps/how-to-enterprise-deploy-static-file.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can also create a server configuration file to customize the web server.
3737

3838
### Deploy static files directly
3939

40-
Use the following command to deploy static files directly using an auto-generated default server configuration file.
40+
Use the following command to deploy static files directly using an autogenerated default server configuration file.
4141

4242
```azurecli
4343
az spring app deploy
@@ -48,7 +48,7 @@ az spring app deploy
4848
--build-env BP_WEB_SERVER=nginx
4949
```
5050

51-
For more information, see the [Configure an auto-generated server configuration file](#configure-an-auto-generated-server-configuration-file) section of this article.
51+
For more information, see the [Configure an autogenerated server configuration file](#configure-an-autogenerated-server-configuration-file) section of this article.
5252

5353
### Deploy your front-end application as static content
5454

@@ -85,20 +85,20 @@ For more information, see the [Using a customized server configuration file](#us
8585
The [Paketo buildpacks samples](https://github.com/paketo-buildpacks/samples/tree/main/web-servers) demonstrate common use cases for several different application types, including the following use cases:
8686

8787
- Serving static files with a default server configuration file using `BP_WEB_SERVER` to select either [HTTPD](https://github.com/paketo-buildpacks/samples/blob/main/web-servers/no-config-file-sample/HTTPD.md) or [NGINX](https://github.com/paketo-buildpacks/samples/blob/main/web-servers/no-config-file-sample/NGINX.md).
88-
- Using Node Package Manager to build a [React app](https://github.com/paketo-buildpacks/samples/tree/main/web-servers/javascript-frontend-sample) into static files that can be served by a web server. Use the following steps:
88+
- Using Node Package Manager to build a [React app](https://github.com/paketo-buildpacks/samples/tree/main/web-servers/javascript-frontend-sample) into static files that a web server can serve. Use the following steps:
8989
1. Define a script under the `scripts` property of the *package.json* file that builds your production-ready static assets. For React, it's `build`.
9090
1. Find out where static assets are stored after the build script runs. For React, static assets are stored in `./build` by default.
9191
1. Set `BP_NODE_RUN_SCRIPTS` to the name of the build script.
9292
1. Set `BP_WEB_SERVER_ROOT` to the build output directory.
9393
- Serving static files with your own server configuration file, using either [HTTPD](https://github.com/paketo-buildpacks/samples/tree/main/web-servers/httpd-sample) or [NGINX](https://github.com/paketo-buildpacks/samples/tree/main/web-servers/nginx-sample).
9494

95-
## Configure an auto-generated server configuration file
95+
## Configure an autogenerated server configuration file
9696

97-
You can use environment variables to modify the auto-generated server configuration file. The following table shows supported environment variables.
97+
You can use environment variables to modify the autogenerated server configuration file. The following table shows supported environment variables.
9898

9999
| Environment Variable | Supported Value | Description |
100100
|-----------------------------------|----------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
101-
| `BP_WEB_SERVER` | *nginx* or *httpd* | Specifies the web server type, either *nginx* for Nginx or *httpd* for Apache HTTP server. Required when using the auto-generated server configuration file. |
101+
| `BP_WEB_SERVER` | *nginx* or *httpd* | Specifies the web server type, either *nginx* for Nginx or *httpd* for Apache HTTP server. Required when using the autogenerated server configuration file. |
102102
| `BP_WEB_SERVER_ROOT` | An absolute file path or a file path relative to */workspace*. | Sets the root directory for the static files. The default is `public`. |
103103
| `BP_WEB_SERVER_ENABLE_PUSH_STATE` | *true* or *false* | Enables push state routing for your application. Regardless of the route that is requested, *index.html* is always served. Useful for single-page web applications. |
104104
| `BP_WEB_SERVER_FORCE_HTTPS` | *true* or *false* | Enforces HTTPS for server connections by redirecting all requests to use the HTTPS protocol. |

0 commit comments

Comments
 (0)