Fix broken links and update api proxy config (#546)
This commit is contained in:
Родитель
2e6e12ecca
Коммит
f56c86c65a
|
@ -57,7 +57,7 @@ In limited preview, the connected registry targets IoT scenarios. Below are link
|
|||
- [Using connected registry with Azure IoT Edge](./overview-connected-registry-and-iot-edge.md)
|
||||
- [Quickstart: Create a connected registry using Azure Container Registry CLI commands](./quickstart-connected-registry-cli.md)
|
||||
- [Quickstart: Deploy a connected registry to an IoT Edge device](./quickstart-deploy-connected-registry-iot-edge-cli.md)
|
||||
- [Quickstart: Deploy a connected registry to an nested IoT Edge device](./quickstart-deploy-connected-quickstart-deploy-connected-registry-nested-iot-edge-cli.md)
|
||||
- [Quickstart: Deploy a connected registry to an nested IoT Edge device](./quickstart-deploy-connected-registry-nested-iot-edge-cli.md)
|
||||
- [Quickstart: Pull images from a connected registry](./quickstart-pull-images-from-connected-registry.md)
|
||||
|
||||
## Troubleshooting
|
||||
|
|
|
@ -48,4 +48,4 @@ In this overview, you learned about the use of the connected registry in hierarc
|
|||
[quickstart-connected-registry-cli]:quickstart-connected-registry-cli.md
|
||||
[overview-connected-registry-and-iot-edge]:quickstart-deploy-connected-registry-iot-edge-cli.md
|
||||
[tutorial-nested-iot-edge]: https://docs.microsoft.com/azure/iot-edge/tutorial-nested-iot-edge?view=iotedge-2020-11&tabs=azure-portal
|
||||
[quickstart-connected-registry-nested]: quickstart-connected-registry-nested-iot-edge-cli.md
|
||||
[quickstart-connected-registry-nested]: quickstart-deploy-connected-registry-nested-iot-edge-cli.md
|
|
@ -275,7 +275,7 @@ Update the proxy config for the connected registry following the steps:
|
|||
|
||||
```
|
||||
"desired": {
|
||||
"proxy_config": "ZXZlbnRzIHsgfQoKCmh0dHAgewogICAgcHJveHlfYnVmZmVycyAzMiAxNjBrOwogICAgcHJveHlfYnVmZmVyX3NpemUgMTYwazsKICAgIHByb3h5X3JlYWRfdGltZW91dCAzNjAwOwogICAgZXJyb3JfbG9nIC9kZXYvc3Rkb3V0IGluZm87CiAgICBhY2Nlc3NfbG9nIC9kZXYvc3Rkb3V0OwoKICAgIHNlcnZlciB7CiAgICAgICAgbGlzdGVuICR7TkdJTlhfREVGQVVMVF9QT1JUfSBzc2wgZGVmYXVsdF9zZXJ2ZXI7CgogICAgICAgIGNodW5rZWRfdHJhbnNmZXJfZW5jb2Rpbmcgb247CgogICAgICAgIHNzbF9jZXJ0aWZpY2F0ZSAgICAgICAgc2VydmVyLmNydDsKICAgICAgICBzc2xfY2VydGlmaWNhdGVfa2V5ICAgIHByaXZhdGVfa2V5X3NlcnZlci5wZW07CiAgICAgICAgc3NsX2NsaWVudF9jZXJ0aWZpY2F0ZSB0cnVzdGVkQ0EuY3J0OwogICAgICAgICNzc2xfdmVyaWZ5X2RlcHRoIDc7CiAgICAgICAgc3NsX3ZlcmlmeV9jbGllbnQgb3B0aW9uYWxfbm9fY2E7CgogICAgICAgICNpZl90YWcgJHtCTE9CX1VQTE9BRF9ST1VURV9BRERSRVNTfQogICAgICAgIGlmICgkaHR0cF94X21zX3ZlcnNpb24pCiAgICAgICAgewogICAgICAgICAgICByZXdyaXRlIF4oLiopJCAvc3RvcmFnZSQxIGxhc3Q7CiAgICAgICAgfQogICAgICAgICNlbmRpZl90YWcgJHtCTE9CX1VQTE9BRF9ST1VURV9BRERSRVNTfQogICAgICAgICNpZl90YWcgISR7QkxPQl9VUExPQURfUk9VVEVfQUREUkVTU30KICAgICAgICBpZiAoJGh0dHBfeF9tc192ZXJzaW9uKQogICAgICAgIHsKICAgICAgICAgICAgcmV3cml0ZSBeKC4qKSQgL3BhcmVudCQxIGxhc3Q7CiAgICAgICAgfQogICAgICAgICNlbmRpZl90YWcgJHtCTE9CX1VQTE9BRF9ST1VURV9BRERSRVNTfQoKICAgICAgICAjaWZfdGFnICR7QkxPQl9VUExPQURfUk9VVEVfQUREUkVTU30KICAgICAgICBsb2NhdGlvbiB+Xi9zdG9yYWdlLyguKil7CiAgICAgICAgICAgIHJlc29sdmVyIDEyNy4wLjAuMTE7CiAgICAgICAgICAgIHByb3h5X2h0dHBfdmVyc2lvbiAxLjE7CiAgICAgICAgICAgIHByb3h5X3Bhc3MgICAgICAgICAgaHR0cDovLyR7QkxPQl9VUExPQURfUk9VVEVfQUREUkVTU30vJDEkaXNfYXJncyRhcmdzOwogICAgICAgIH0KICAgICAgICAjZW5kaWZfdGFnICR7QkxPQl9VUExPQURfUk9VVEVfQUREUkVTU30KCiAgICAgICAgI2lmX3RhZyAke0NPTk5FQ1RFRF9BQ1JfUk9VVEVfQUREUkVTU30KICAgICAgICBsb2NhdGlvbiAvdjIgewogICAgICAgICAgICBjbGllbnRfbWF4X2JvZHlfc2l6ZSAxMDAwRzsKICAgICAgICAgICAgcmVzb2x2ZXIgMTI3LjAuMC4xMTsKICAgICAgICAgICAgcHJveHlfaHR0cF92ZXJzaW9uIDEuMTsKICAgICAgICAgICAgcHJveHlfcGFzcyAgICAgICAgIGh0dHA6Ly8ke0NPTk5FQ1RFRF9BQ1JfUk9VVEVfQUREUkVTU307CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgICBYLUZvcndhcmRlZC1Ib3N0ICRodHRwX2hvc3Q7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgICBYLUZvcndhcmRlZC1Qcm90byAkc2NoZW1lOwogICAgICAgIH0KCiAgICAgICAgbG9jYXRpb24gL2FjciB7CiAgICAgICAgICAgIHJlc29sdmVyIDEyNy4wLjAuMTE7CiAgICAgICAgICAgIHByb3h5X2h0dHBfdmVyc2lvbiAxLjE7CiAgICAgICAgICAgIHByb3h5X3Bhc3MgICAgICAgICBodHRwOi8vJHtDT05ORUNURURfQUNSX1JPVVRFX0FERFJFU1N9OwogICAgICAgICAgICBwcm94eV9zZXRfaGVhZGVyICAgWC1Gb3J3YXJkZWQtSG9zdCAkaHR0cF9ob3N0OwogICAgICAgICAgICBwcm94eV9zZXRfaGVhZGVyICAgWC1Gb3J3YXJkZWQtUHJvdG8gJHNjaGVtZTsKICAgICAgICB9CiAgICAgICAgI2VuZGlmX3RhZyAke0NPTk5FQ1RFRF9BQ1JfUk9VVEVfQUREUkVTU30KCiAgICAgICAgI2lmX3RhZyAke0lPVEVER0VfUEFSRU5USE9TVE5BTUV9CiAgICAgICAgbG9jYXRpb24gfl4vcGFyZW50LyguKikgewogICAgICAgICAgICBwcm94eV9odHRwX3ZlcnNpb24gMS4xOwogICAgICAgICAgICByZXNvbHZlciAxMjcuMC4wLjExOwogICAgICAgICAgICAjcHJveHlfc3NsX2NlcnRpZmljYXRlICAgICBpZGVudGl0eS5jcnQ7CiAgICAgICAgICAgICNwcm94eV9zc2xfY2VydGlmaWNhdGVfa2V5IHByaXZhdGVfa2V5X2lkZW50aXR5LnBlbTsKICAgICAgICAgICAgcHJveHlfc3NsX3RydXN0ZWRfY2VydGlmaWNhdGUgdHJ1c3RlZENBLmNydDsKICAgICAgICAgICAgcHJveHlfc3NsX3ZlcmlmeV9kZXB0aCA3OwogICAgICAgICAgICBwcm94eV9zc2xfdmVyaWZ5ICAgICAgIG9uOwogICAgICAgICAgICBwcm94eV9wYXNzICAgICAgICAgIGh0dHBzOi8vJHtJT1RFREdFX1BBUkVOVEhPU1ROQU1FfToke05HSU5YX0RFRkFVTFRfUE9SVH0vJDEkaXNfYXJncyRhcmdzOwogICAgICAgIH0KICAgICAgICAjZW5kaWZfdGFnICR7SU9URURHRV9QQVJFTlRIT1NUTkFNRX0KCiAgICAgICAgbG9jYXRpb24gfl4vZGV2aWNlc3x0d2lucy8gewogICAgICAgICAgICBwcm94eV9odHRwX3ZlcnNpb24gIDEuMTsKICAgICAgICAgICAgcHJveHlfc3NsX3ZlcmlmeSAgICBvZmY7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgICAgeC1tcy1lZGdlLWNsaWVudGNlcnQgICAgJHNzbF9jbGllbnRfZXNjYXBlZF9jZXJ0OwogICAgICAgICAgICBwcm94eV9wYXNzICAgICAgICAgIGh0dHBzOi8vZWRnZUh1YjsKICAgICAgICB9CiAgICB9Cn0=",
|
||||
"proxy_config": "ZXZlbnRzIHsgfQoKCmh0dHAgewogICAgcHJveHlfYnVmZmVycyAzMiAxNjBrOwogICAgcHJveHlfYnVmZmVyX3NpemUgMTYwazsKICAgIHByb3h5X3JlYWRfdGltZW91dCAzNjAwOwogICAgZXJyb3JfbG9nIC9kZXYvc3Rkb3V0IGluZm87CiAgICBhY2Nlc3NfbG9nIC9kZXYvc3Rkb3V0OwoKICAgIHNlcnZlciB7CiAgICAgICAgbGlzdGVuICR7TkdJTlhfREVGQVVMVF9QT1JUfSBzc2wgZGVmYXVsdF9zZXJ2ZXI7CgogICAgICAgIGNodW5rZWRfdHJhbnNmZXJfZW5jb2Rpbmcgb247CgogICAgICAgIHNzbF9jZXJ0aWZpY2F0ZSAgICAgICAgc2VydmVyLmNydDsKICAgICAgICBzc2xfY2VydGlmaWNhdGVfa2V5ICAgIHByaXZhdGVfa2V5X3NlcnZlci5wZW07CiAgICAgICAgc3NsX2NsaWVudF9jZXJ0aWZpY2F0ZSB0cnVzdGVkQ0EuY3J0OwogICAgICAgICNzc2xfdmVyaWZ5X2RlcHRoIDc7CiAgICAgICAgc3NsX3ZlcmlmeV9jbGllbnQgb3B0aW9uYWxfbm9fY2E7CgogICAgICAgICNpZl90YWcgJHtCTE9CX1VQTE9BRF9ST1VURV9BRERSRVNTfQogICAgICAgIGlmICgkaHR0cF94X21zX3ZlcnNpb24pCiAgICAgICAgewogICAgICAgICAgICByZXdyaXRlIF4oLiopJCAvc3RvcmFnZSQxIGxhc3Q7CiAgICAgICAgfQogICAgICAgICNlbmRpZl90YWcgJHtCTE9CX1VQTE9BRF9ST1VURV9BRERSRVNTfQogICAgICAgICNpZl90YWcgISR7QkxPQl9VUExPQURfUk9VVEVfQUREUkVTU30KICAgICAgICBpZiAoJGh0dHBfeF9tc192ZXJzaW9uKQogICAgICAgIHsKICAgICAgICAgICAgcmV3cml0ZSBeKC4qKSQgL3BhcmVudCQxIGxhc3Q7CiAgICAgICAgfQogICAgICAgICNlbmRpZl90YWcgJHtCTE9CX1VQTE9BRF9ST1VURV9BRERSRVNTfQoKICAgICAgICAjaWZfdGFnICR7QkxPQl9VUExPQURfUk9VVEVfQUREUkVTU30KICAgICAgICBsb2NhdGlvbiB+Xi9zdG9yYWdlLyguKil7CiAgICAgICAgICAgIHJlc29sdmVyIDEyNy4wLjAuMTE7CiAgICAgICAgICAgIHByb3h5X2h0dHBfdmVyc2lvbiAxLjE7CiAgICAgICAgICAgIHByb3h5X3Bhc3MgICAgICAgICAgaHR0cDovLyR7QkxPQl9VUExPQURfUk9VVEVfQUREUkVTU30vJDEkaXNfYXJncyRhcmdzOwogICAgICAgIH0KICAgICAgICAjZW5kaWZfdGFnICR7QkxPQl9VUExPQURfUk9VVEVfQUREUkVTU30KCiAgICAgICAgI2lmX3RhZyAke0NPTk5FQ1RFRF9BQ1JfUk9VVEVfQUREUkVTU30KICAgICAgICBsb2NhdGlvbiAvdjIgewogICAgICAgICAgICBjbGllbnRfbWF4X2JvZHlfc2l6ZSAxMDAwRzsKICAgICAgICAgICAgcmVzb2x2ZXIgMTI3LjAuMC4xMTsKICAgICAgICAgICAgcHJveHlfaHR0cF92ZXJzaW9uIDEuMTsKICAgICAgICAgICAgcHJveHlfcGFzcyAgICAgICAgIGh0dHA6Ly8ke0NPTk5FQ1RFRF9BQ1JfUk9VVEVfQUREUkVTU307CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgICBYLUZvcndhcmRlZC1Ib3N0ICRodHRwX2hvc3Q7CiAgICAgICAgICAgIHByb3h5X3NldF9oZWFkZXIgICBYLUZvcndhcmRlZC1Qcm90byAkc2NoZW1lOwogICAgICAgIH0KCiAgICAgICAgbG9jYXRpb24gL2FjciB7CiAgICAgICAgICAgIGNsaWVudF9tYXhfYm9keV9zaXplIDEwTTsKICAgICAgICAgICAgcmVzb2x2ZXIgMTI3LjAuMC4xMTsKICAgICAgICAgICAgcHJveHlfaHR0cF92ZXJzaW9uIDEuMTsKICAgICAgICAgICAgc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gICAgICAgICAgIHByb3h5X2h0dHBfdmVyc2lvbiAgMS4xOwogICAgICAgICAgICBwcm94eV9zc2xfdmVyaWZ5ICAgIG9mZjsKICAgICAgICAgICAgcHJveHlfc2V0X2hlYWRlciAgICB4LW1zLWVkZ2UtY2xpZW50Y2VydCAgICAkc3NsX2NsaWVudF9lc2NhcGVkX2NlcnQ7CiAgICAgICAgICAgIHByb3h5X3Bhc3MgICAgICAgICAgaHR0cHM6Ly9lZGdlSHViOwogICAgICAgIH0KICAgIH0KfQ==",
|
||||
|
||||
"$metadata": {...}
|
||||
```
|
||||
|
@ -335,6 +335,7 @@ http {
|
|||
}
|
||||
|
||||
location /acr {
|
||||
client_max_body_size 10M;
|
||||
resolver 127.0.0.11;
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass http://${CONNECTED_ACR_ROUTE_ADDRESS};
|
||||
|
@ -389,4 +390,4 @@ In this quickstart, you learned how to deploy a connected registry to an IoT Edg
|
|||
[container-registry-intro]: container-registry-intro.md
|
||||
[quickstart-pull-images-from-connected-registry]: quickstart-pull-images-from-connected-registry.md
|
||||
[quickstart-connected-registry-cli]: quickstart-connected-registry-cli.md
|
||||
[quickstart-connected-registry-nested]: quickstart-connected-registry-nested-iot-edge-cli.md
|
||||
[quickstart-connected-registry-nested]: quickstart-deploy-connected-registry-nested-iot-edge-cli.md
|
||||
|
|
Загрузка…
Ссылка в новой задаче