* support Minikube
[arvados-k8s.git] / charts / arvados / config / api-server / nginx.conf
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 server {
6   listen 127.0.0.1:8000;
7   server_name localhost-api;
8
9   root /var/www/arvados-api/current/public;
10   index  index.html index.htm index.php;
11
12   passenger_enabled on;
13   # If you're using RVM, uncomment the line below.
14   passenger_ruby /usr/local/rvm/wrappers/default/ruby;
15
16   # This value effectively limits the size of API objects users can
17   # create, especially collections.  If you change this, you should
18   # also ensure the following settings match it:
19   # * `client_max_body_size` in the server section below
20   # * `client_max_body_size` in the Workbench Nginx configuration (twice)
21   # * `max_request_size` in the API server's application.yml file
22   client_max_body_size 128m;
23 }