|
8 | 8 | ## NGINX filesystem restrictions
|
9 | 9 | NGINXaaS for Azure places restrictions on the instance's filesystem; only a specific set of directories are allowed to be read from and written to. Below is a table describing what directories the NGINX worker process can read and write to and what directories files can be written to. These files include certificate files and any files uploaded to the deployment, excluding NGINX configuration files.
|
10 | 10 |
|
11 |
| - {{<bootstrap-table "table table-striped table-bordered">}} |
| 11 | +{{<bootstrap-table "table table-striped table-bordered">}} |
12 | 12 | | Allowed Directory | NGINX worker process can read/write to | Files can be written to |
|
13 |
| - |------------------ | ----------------- | ----------------- | |
14 |
| - | /etc/nginx | | ✓ | |
15 |
| - | /opt | ✓ | ✓ | |
16 |
| - | /srv | ✓ | ✓ | |
17 |
| - | /tmp | ✓ | | |
18 |
| - | /var/cache/nginx | ✓ | | |
19 |
| - | /var/www | ✓ | ✓ | |
| 13 | + |-------------------- | -------------------- | -------------------- | |
| 14 | + | /etc/nginx | | {{< icon "check" >}} | |
| 15 | + | /opt | {{< icon "check" >}} | {{< icon "check" >}} | |
| 16 | + | /srv | {{< icon "check" >}} | {{< icon "check" >}} | |
| 17 | + | /tmp | {{< icon "check" >}} | | |
| 18 | + | /var/cache/nginx | {{< icon "check" >}} | | |
| 19 | + | /var/www | {{< icon "check" >}} | {{< icon "check" >}} | |
20 | 20 | {{</bootstrap-table>}}
|
21 | 21 |
|
22 | 22 | Attempts to access other directories will be denied and result in a `5xx` error.
|
@@ -50,4 +50,4 @@ Some directives cannot be overridden by the user provided configuration.
|
50 | 50 | | `master_process` | `on` | This directive is intended for NGINX developers. |
|
51 | 51 | | `worker_cpu_affinity` | `auto` | The value `auto` allows binding worker processes automatically to available CPUs based on the current capacity of the deployment. |
|
52 | 52 |
|
53 |
| -{{</bootstrap-table>}} |
| 53 | +{{</bootstrap-table>}} |
0 commit comments