Answer the question
In order to leave comments, you need to log in
Should I serve nuxt static via nginx?
Project on nuxt.
It runs on port 3000, I proxy all requests through nginx
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:3000;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question