add metrics
This commit is contained in:
parent
5ba81ec6f6
commit
be4ddd132e
1 changed files with 4 additions and 0 deletions
|
|
@ -57,6 +57,10 @@ server {
|
||||||
|
|
||||||
error_page 503 /static/maintenance.html ;
|
error_page 503 /static/maintenance.html ;
|
||||||
|
|
||||||
|
location /metrics {
|
||||||
|
proxy_pass http://127.0.0.1:9100;
|
||||||
|
}
|
||||||
|
|
||||||
location /maintenance.html {
|
location /maintenance.html {
|
||||||
alias /var/www/photos/photo21/static ;
|
alias /var/www/photos/photo21/static ;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue