# Nuxt App Deployment Issue

**URL:** <https://answers.netlify.com/t/nuxt-app-deployment-issue/10147>\
**Category:** Support\
**Tags:** deployment, proxying\
**Created:** [March 6, 2020, 11:48am UTC](https://answers.netlify.com/t/nuxt-app-deployment-issue/10147 "2020-03-06T11:48:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crzyzenn](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/crzyzenn/32/7637_2.png) [@crzyzenn](https://answers.netlify.com/u/crzyzenn)\
**Post date:** [March 6, 2020, 11:48am UTC](https://answers.netlify.com/t/nuxt-app-deployment-issue/10147/1 "2020-03-06T11:48:30Z")

</div>

Hi,  
I’m trying to deploy my Universal Nuxt application to Netlify, but it does not seem to work. How do I solve this?

I tried using SPA mode and also Static mode. However, I could not get the Nuxt API proxy module working, nor the middlewares.

Also, according to the Netlify docs, I also set up the netlify config file to set up proxy redirects from /api to my server running on another domain. That did not work too. So I’m back to square one with my issue.

Any help would be appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [March 6, 2020, 7:51pm UTC](https://answers.netlify.com/t/nuxt-app-deployment-issue/10147/2 "2020-03-06T19:51:11Z")

</div>

hello, sorry to hear you are having trouble! In order to know how we can help, we need to know a little more about what you are trying to do and why you say it isn’t working.

Do you have a deploy/build log with some errors you can show us?  
Do you have any error messages you are describing?

If you are having issues with redirects or your netlify.toml then those are also files we would need to see in order to help.

---

<div class="post-metadata">

**Author:** ![crzyzenn](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/crzyzenn/32/7637_2.png) [@crzyzenn](https://answers.netlify.com/u/crzyzenn)\
**Post date:** [March 8, 2020, 4:53am UTC](https://answers.netlify.com/t/nuxt-app-deployment-issue/10147/3 "2020-03-08T04:53:08Z")

</div>

Hi, there are generally no errors the site is working fine. The issue is I cannot get the api requests to work.

Here’s my netlify.toml content

```auto
[[redirects]]
  from = "/api"
  to = "https://myserver/internal/api/v1"
  status = 200
  force = true
  headers = {X-From = "Netlify"}

The api requests are not redirected to my api server but goes to the netlify server and returns the 404 page.
```

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [March 9, 2020, 6:49pm UTC](https://answers.netlify.com/t/nuxt-app-deployment-issue/10147/4 "2020-03-09T18:49:39Z")

</div>

hey there,

I’m NOT a redirects expert, but, from reviewing our docs on this you may be dealing with headers in way we can’t process properly.

Can you take a look at these configurations and see if that is helpful?

> **[File-based configuration](https://docs.netlify.com/configure-builds/file-based-configuration/#redirects)**
>
> Use a netlify.toml configuration file to specify how the platform builds and deploys your project.
