Skip to content

Commit f2d015a

Browse files
authored
Merge pull request #181 from andrewm4894/fix-nginx
feat: add nginx configuration for dashboard static assets
2 parents 6c74aa9 + 7875cff commit f2d015a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

nginx.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ http {
6666
proxy_buffering off;
6767
}
6868

69+
# Dashboard static assets (no authentication)
70+
location ^~ /dashboard/static/ {
71+
proxy_pass http://localhost:8080;
72+
proxy_set_header Host $host;
73+
proxy_set_header X-Real-IP $remote_addr;
74+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
75+
proxy_set_header X-Forwarded-Proto https;
76+
proxy_set_header X-Forwarded-Port 443;
77+
proxy_buffering off;
78+
}
79+
6980
# Dagster homepage entry point
7081
location = /dagster {
7182
# Basic authentication for Dagster access

0 commit comments

Comments
 (0)