Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 902 Bytes
server {
listen 3080;
server_name localhost;
client_max_body_size 200M;
location / {
proxy_pass http://127.0.0.1:3000;
proxy_read_timeout 99999s;
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
}
location /api {
proxy_pass http://127.0.0.1:5000;
proxy_read_timeout 99999s;
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
}
location /api/events {
gzip off;
proxy_pass http://127.0.0.1:5000/api/events;
proxy_read_timeout 99999s;
proxy_buffering off;
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
}
}
You can’t perform that action at this time.