added django admin

This commit is contained in:
ITQ
2025-03-01 14:43:16 +03:00
parent 6b2289d6d9
commit 7a4530acca
+13
View File
@@ -156,6 +156,19 @@ http {
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/ {
rewrite ^/admin/grafana/(.*) /$1 break;
proxy_pass http://grafana:3000/;