mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 23:17:09 +00:00
added django admin
This commit is contained in:
@@ -156,6 +156,19 @@ http {
|
|||||||
client_max_body_size 100M;
|
client_max_body_size 100M;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /admin {
|
||||||
|
proxy_pass http://backend:8080;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
client_max_body_size 100M;
|
||||||
|
}
|
||||||
|
|
||||||
location /admin/grafana/ {
|
location /admin/grafana/ {
|
||||||
rewrite ^/admin/grafana/(.*) /$1 break;
|
rewrite ^/admin/grafana/(.*) /$1 break;
|
||||||
proxy_pass http://grafana:3000/;
|
proxy_pass http://grafana:3000/;
|
||||||
|
|||||||
Reference in New Issue
Block a user