Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
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';
}
}