@contiamo/dev
Version:
Dev environment for contiamo
35 lines (27 loc) • 876 B
Plain Text
server {
listen 8888;
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
include /ingress/auth.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;
location ~ ^/$ {
# catch all goes to profile app
rewrite ^ $scheme://$http_host/auth/profile permanent;
}
location / {
add_header "Cache-Control" "no-cache, max-age=0";
proxy_connect_timeout 300s;
proxy_pass http://127.0.0.1:80;
}
}