Skip to content

Commit fae10f3

Browse files
Update faqs-app-service-linux.yml
1 parent 806ef25 commit fae10f3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

support/azure/app-service/faqs-app-service-linux.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
author: genlin
77
ms.topic: article
88
ms.service: azure-app-service
9-
ms.date: 04/16/2024
9+
ms.date: 04/24/2025
1010
ms.author: genli
1111
title: Azure App Service on Linux FAQ
1212
summary: |
@@ -82,14 +82,14 @@ sections:
8282
curl -X POST -u <user> --data-binary @<zipfile> https://{your-sitename}.scm.azurewebsites.net/api/zipdeploy
8383
```
8484
85-
If you get an error that the `curl` command is not found, make sure you install curl by using `apt-get install curl` before you run the previous `curl` command.
85+
If you get an error that the `curl` command isn't found, make sure you install curl by using `apt-get install curl` before you run the previous `curl` command.
8686
8787
- name: Language support
8888
questions:
8989
- question: |
9090
I want to use web sockets in my Node.js application, any special settings, or configurations to set?
9191
answer: |
92-
Yes, disable `perMessageDeflate` in your server-side Node.js code. For example, if you are using socket.io, use the following code:
92+
Yes, disable `perMessageDeflate` in your server-side Node.js code. For example, if you're using socket.io, use the following code:
9393
9494
```nodejs
9595
const io = require('socket.io')(server,{
@@ -126,7 +126,7 @@ sections:
126126
- File system storage: The file system storage is included in the App Service plan quota. It's used when files are saved to the persistent storage that's rooted in the `/home` directory.
127127
- Host disk space: The host disk space is used to store container images. It's managed by the platform through the docker storage driver.
128128
129-
The host disk space is separate from the file system storage quota. It's not expandable and there is a 15 GB limit for each instance. It's used to store any custom images on the worker. You might be able to use larger than 15 GBs depending on the exact availability of host disk space, but this isn't guaranteed.
129+
The host disk space is separate from the file system storage quota. It's not expandable and there is a 15-GB limit for each instance. It's used to store any custom images on the worker. You might be able to use larger than 15 GBs depending on the exact availability of host disk space, but this isn't guaranteed.
130130
131131
If the container's writable layer saves data outside of the `/home` directory or a [mounted azure storage path](/azure/app-service/configure-connect-to-azure-storage?tabs=portal&pivots=container-linux), the host disk space will also be consumed.
132132
@@ -147,7 +147,7 @@ sections:
147147
- question: |
148148
What is the format for the image name in the private registry option?
149149
answer: |
150-
Add the full image name, including the private registry URL (for example, myacr.azurecr.io/dotnet:latest). Image names that use a custom port [cannot be entered through the portal](https://feedback.azure.com/d365community/). To set `docker-custom-image-name`, use the [`az` command-line tool](/cli/azure/webapp/config/container#az_webapp_config_container_set).
150+
Add the full image name, including the private registry URL (for example, myacr.azurecr.io/dotnet:latest). Image names that use a custom port [can't be entered through the portal](https://feedback.azure.com/d365community/). To set `docker-custom-image-name`, use the [`az` command-line tool](/cli/azure/webapp/config/container#az_webapp_config_container_set).
151151
152152
- question: |
153153
Can I expose more than one port on my custom container image?
@@ -174,7 +174,7 @@ sections:
174174
Can I use ASPNETCORE_URLS in the Docker image?
175175
answer: |
176176
Yes, overwrite the environmental variable before .NET core app starts.
177-
E.g. In the init.sh script: export ASPNETCORE_URLS={Your value}
177+
E.g., In the init.sh script: export ASPNETCORE_URLS={Your value}
178178
179179
- name: Multi-container with Docker Compose
180180
questions:
@@ -209,7 +209,7 @@ sections:
209209
- question: |
210210
How do I use depends_on?
211211
answer: |
212-
The `depends_on` option is *unsupported* on App Service and it'll be ignored. Just as the [control startup and shutdown recommendation from Docker](https://docs.docker.com/compose/startup-order/), App Service Multi-container apps should check dependencies through application code - both at startup and disconnection.
212+
The `depends_on` option is *unsupported* on App Service and is ignored. Just as the [control startup and shutdown recommendation from Docker](https://docs.docker.com/compose/startup-order/), App Service Multi-container apps should check dependencies through application code - both at startup and disconnection.
213213
The example code below shows a Python app checking to see if a Redis container is running.
214214
```python
215215
import time
@@ -235,7 +235,7 @@ sections:
235235
app.run(host="0.0.0.0", port=80, debug=True)
236236
```
237237
## Web Sockets
238-
Web Sockets are supported on Linux apps. The `webSocketsEnabled` ARM setting does not apply to Linux apps since Web Sockets are always enabled for Linux.
238+
Web Sockets are supported on Linux apps. The `webSocketsEnabled` ARM setting doesn't apply to Linux apps since Web Sockets are always enabled for Linux.
239239
> [!IMPORTANT]
240240
> Web Sockets are now supported for Linux apps on Free App Service plans. We support up to five web socket connections on Free App Service plans. Exceeding this limit results in an HTTP 429 (Too Many Requests) response.
241241
- name: Pricing and SLA
@@ -267,7 +267,7 @@ sections:
267267
| Container type | Description | How to set/use port |
268268
|----------------|-------------|---------------------|
269269
| Built-in containers | If you select a language/framework version for a Linux app, a predefined container is selected for you. | To point your app code to the right port, use the PORT environment variable. |
270-
| Custom containers | You have full control over the container. | App Service has no control about which port your container listens on. What it does need is to know which port to forward requests to. If your container listens to port 80 or 8080, App Service is able to automatically detect it. If it listens to any other port, you need to set the WEBSITES_PORT app setting to the port number, and App Service forwards requests to that port in the container. The WEBSITES_PORT app setting does not have any effect within the container, and you can’t access it as an environment variable within the container. |
270+
| Custom containers | You have full control over the container. | App Service has no control about which port your container listens on. What it does need is to know which port to forward requests to. If your container listens to port 80 or 8080, App Service is able to automatically detect it. If it listens to any other port, you need to set the WEBSITES_PORT app setting to the port number, and App Service forwards requests to that port in the container. The WEBSITES_PORT app setting doesn't have any effect within the container, and you can’t access it as an environment variable within the container. |
271271
- question: |
272272
Can I use a file based database (like SQLite) with my Linux Webapp?
273273
answer: |

0 commit comments

Comments
 (0)