ankibunkers ankibunkers -4 years ago 171
React JSX Question

getting 403 on nginx deployment (mac)

I am trying to deploy a react app onto nginx. Here is my server object in the nginx.confg.
Keep getting 403, any help

server {
listen 8080;
server_name localhost;

#charset koi8-r;

#access_log logs/host.access.log main;

location / {
root /Users/pinky/Documents/workspace/nebula_fe;
index index.html index.htm;
}

Answer Source

Using proxy pass command resolved this issue..

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download