20482: Allows the cluster operator to use an arbitrary domain.
[arvados.git] / tools / salt-install / config_examples / multi_host / aws / pillars / nginx_api_configuration.sls
index c0b087045ecc8d11430b48153e4cefaa28a8ca6a..bfe0386e9316fe848bccf5e775d452c1462e653c 100644 (file)
@@ -13,7 +13,7 @@ nginx:
   ### SITES
   servers:
     managed:
-      arvados_api:
+      arvados_api.conf:
         enabled: true
         overwrite: true
         config:
@@ -22,7 +22,7 @@ nginx:
             - server_name: api
             - root: /var/www/arvados-api/current/public
             - index:  index.html index.htm
-            - access_log: /var/log/nginx/api.__CLUSTER__.__DOMAIN__-upstream.access.log combined
-            - error_log: /var/log/nginx/api.__CLUSTER__.__DOMAIN__-upstream.error.log
+            - access_log: /var/log/nginx/api.__DOMAIN__-upstream.access.log combined
+            - error_log: /var/log/nginx/api.__DOMAIN__-upstream.error.log
             - passenger_enabled: 'on'
             - client_max_body_size: 128m