Support the infra server's `/version` endpoint in the automate-deployed infra server
* To support the infra server's version endpoint, redirect `/version`
to the infra server's nginx.
* Redirect `/universe` to infra server's `universe` API endpoint.
#
# Bookshelf requests are handled specially so that we can cache
-# cookbook data at the edge fo the system.
+# cookbook data at the edge of the system.
#
location ~ "^/bookshelf/organization-.+" {
set $destination @bookshelf_cached;
@@ -49,7 +49,7 @@ location @bookshelf_uncached {
proxy_set_header Connection "";
}
-location ~ ^/(_status|compliance/organizations|organizations|users|authenticate_user|system_recovery|license|server_api_version|_stats)/?(.*) {
+location ~ ^/(_status|compliance/organizations|organizations|users|authenticate_user|system_recovery|license|server_api_version|_stats|version|universe)/?(.*) {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
