Skip to content

Commit

Permalink
Introduce NGINX_CUSTOM_LOCATION_BLOCK_BASE64
Browse files Browse the repository at this point in the history
This variable is a very low-level feature. It allows to insert a location block into the Nginx configuration. The variable's value must be Base64-encoded.

Example of such a block (not yet encoded):
```
  location = /.well-known/com.apple.remotemanagement {
    default_type application/json;
    return 200 '{"Servers":[{"Version":"mdm-adde","BaseURL":"https://mdm.example.com/api/v2enrollment/enroll/adde"}]}';
    add_header Content-Type 'application/json' always;
  }
```
  • Loading branch information
robertlemke committed Nov 19, 2024
1 parent c26f05e commit 34d536d
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 58 deletions.
Loading

0 comments on commit 34d536d

Please sign in to comment.