UNPKG

@contiamo/dev

Version:

Dev environment for contiamo

49 lines (41 loc) 1.38 kB
server { listen 80; server_name localhost; client_max_body_size 1024m; access_log /dev/stdout combined; error_log /dev/stdout debug; # Necessary for chunked transfer encoding in Pantheon proxy_http_version 1.1; # Variables for proxy_pass upstreams # This is to avoid nginx proxy check on bootstrap set $auth https://auth; set $datastore http://datastore; set $profiler http://profiler; set $pantheon http://pantheon; set $ui http://ui; set $hub http://hub; set $graphql http://graphql; set $sync_ingester http://sync-ingester; set $tenjin http://tenjin; set $marquez http://marquez-web; include /ingress/auth.conf; # must come bfore `hub.conf` so that the regex match takes precidence include /ingress/sync-ingester.conf; include /ingress/hub-query.conf; include /ingress/hub.conf; include /ingress/profiler.conf; include /ingress/profiling.conf; include /ingress/metrics.conf; include /ingress/pantheon.conf; include /ingress/marquez.conf; location ~ ^/$ { # catch all goes to profile app rewrite ^ $scheme://$http_host/auth/profile permanent; } location / { add_header "Cache-Control" "no-cache, max-age=0"; resolver 127.0.0.11 valid=5s; proxy_connect_timeout 300s; proxy_pass $ui:80; } }