How to set up nginx for file uploading
r1ch+nginx at teamliquid.net
Fri Dec 11 14:27:40 UTC 2015
Your config doesn't appear to add any Access-Control-Allow-Origin header,
so unless your backend is adding this, you will need to add an
appropriate Access-Control-Allow-Origin header.
On Fri, Dec 11, 2015 at 1:14 PM, Vlad Fulgeanu <full.vladd at gmail.com> wrote:
> Hi everyone!
> I am having some trouble setting up nginx for file uploading.
> I am using nginx as a proxy in front of my nodejs server (that has hapi as
> server framework).
> Here is the nginx.conf file's portion for this server:
> The problem is that I get
>> No 'Access-Control-Allow-Origin' header is present on the requested
>> resource. Origin 'https://test.project.com' is therefore not allowed
> immediately after sending the pre-flight request when uploading the file.
> Can anyone please help me?
> Thanks in advance.
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx