(Nuxt.js) Failed to load resource: the server responded with a status of 404 (Not Found)

Viewed 911

My problem is the following:

I have a Nuxt.js app on my server. SSL and reverse-proxy is all configured (Apache).
When i build and start the app (SSR rendering) and visit http://mydomain.name:3000, everything works fine.

But visiting https://mydomain.name gives me tons of errors, like these:

GET https://mydomain.name 404 (Not Found),
(5) GET https://mydomain.name/_nuxt/vendors/app.js net::ERR_ABORTED 404 (Not Found),
And so on...

Already tried to configure the nuxt.config.js file with no luck:

server: {
  host: "0.0.0.0",
  port: 3000
},
build: {
  publicPath: "https://mydomain.name"
},

Any suggestion? Thanks!

0 Answers
Related