Changeset View
Changeset View
Standalone View
Standalone View
docker/conf/nginx.conf
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | server { | ||||
proxy_set_header SCRIPT_NAME /deposit; | proxy_set_header SCRIPT_NAME /deposit; | ||||
proxy_redirect off; | proxy_redirect off; | ||||
} | } | ||||
location /objstorage { | location /objstorage { | ||||
set $upstream "http://swh-objstorage:5003"; | set $upstream "http://swh-objstorage:5003"; | ||||
rewrite ^/objstorage/(.*)$ /$1 break; | rewrite ^/objstorage/(.*)$ /$1 break; | ||||
proxy_pass $upstream; | proxy_pass $upstream; | ||||
proxy_read_timeout 3600s; | |||||
} | } | ||||
location /prometheus { | location /prometheus { | ||||
set $upstream "http://prometheus:9090"; | set $upstream "http://prometheus:9090"; | ||||
proxy_pass $upstream; | proxy_pass $upstream; | ||||
} | } | ||||
location /grafana { | location /grafana { | ||||
set $upstream "http://grafana:3000"; | set $upstream "http://grafana:3000"; | ||||
rewrite ^/grafana/(.*)$ /$1 break; | rewrite ^/grafana/(.*)$ /$1 break; | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |