Newer
Older
server{
listen 80;
server_name _;
location / {
try_files $uri $uri/ /index.html;
root /opt/lofar/share/www;
proxy_cache_revalidate on;
}
location /api {
proxy_read_timeout 6000s;
proxy_pass http://lofar-maintenance-restservice:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_request_headers on;
client_max_body_size 500M;
}