Skip to content

schmellow/BlazorSubfolderIssueRepro

Repository files navigation

  1. Add following to nginx config:
location /app {
    proxy_pass http://localhost:5000/app;
    proxy_http_version      1.1;
    proxy_set_header        Upgrade $http_upgrade;
    proxy_set_header        Connection "Upgrade";
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        X-Forwarded-Host $server_name;
    proxy_set_header        X-Forwarded-Proto $scheme;
    proxy_set_header        Host $host;
    proxy_set_header        X-Real-IP $remote_addr;
}
  1. Launch the project (F5), it should navigate to http://localhost/app and function normally

  2. In browser dev tools observe 404 errors for aspnetcore-browser-refresh.js and browserLink

These scripts are actuall available at:

What is requested by the application instead:

What is expected to be requested and served:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published