mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:17:39 +03:00
Fix project hub 502: directory alias and single index.html.
Alias-to-file broke nginx static serving; inline hub CSS and relative links. One file to copy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,13 +9,10 @@
|
||||
return 301 /app/androidcast_project/;
|
||||
}
|
||||
|
||||
# Static project hub (examples/app_hub — index.html + hub.css on disk)
|
||||
# Static hub: one index.html in project dir (directory alias — not alias-to-file)
|
||||
location = /app/androidcast_project/ {
|
||||
alias /var/www/localhost/htdocs/apps/app/androidcast_project/index.html;
|
||||
}
|
||||
|
||||
location = /app/androidcast_project/hub.css {
|
||||
alias /var/www/localhost/htdocs/apps/app/androidcast_project/hub.css;
|
||||
alias /var/www/localhost/htdocs/apps/app/androidcast_project/;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
location ^~ /app/androidcast_project/crashes/assets/ {
|
||||
|
||||
@@ -27,11 +27,8 @@ server {
|
||||
}
|
||||
|
||||
location = /app/androidcast_project/ {
|
||||
alias /var/www/localhost/htdocs/apps/app/androidcast_project/index.html;
|
||||
}
|
||||
|
||||
location = /app/androidcast_project/hub.css {
|
||||
alias /var/www/localhost/htdocs/apps/app/androidcast_project/hub.css;
|
||||
alias /var/www/localhost/htdocs/apps/app/androidcast_project/;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
location ^~ /app/androidcast_project/crashes/assets/ {
|
||||
|
||||
Reference in New Issue
Block a user