G
G
Governor2021-08-04 12:30:22
Nginx
Governor, 2021-08-04 12:30:22

How to properly connect Quasar, Vue build on nginx?

They threw off the pwa build files of the site, I need to run it all on the server with nginx.
In the config, when requested, I simply direct to the index.html page like this:

server {
  listen 80;

                location / {
                        root /opt/web-client;
                        index index.html;
                        try_files $uri $uri/ /index.html;
                }
    }


As a result, the page opens, but some styles are not pulled up.

Can you please tell me how to host the vue build correctly??
Nginx is in docker by the way.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question