Pagoda-Java front-end and back-end separation project-access to front-end static resources

1. After creating the site, remember to check the separation of front and back ends, and click Settings

2. Click the configuration file to add configuration code

location / {
        try_files $uri $uri/ /index.html;
    }

 Then you can normally access the direct domain name + corresponding folder

Guess you like

Origin blog.csdn.net/qq_37564189/article/details/125379308