Hi Daniel,
Here is how the site looks
upstream backend { server 192.168.34.23:3000; } server { listen 5000 default_server; listen [::]:5000 default_server; root /var/www/html; index index.html index.htm index.nginx-debian.html; server_name http://example.com; location / { proxy_pass http://backend/; try_files $uri $uri/ =404; } }
i am thinking, could the root there be the problem?
I have removed it and it's still the same thing.
Hi again Daniel,
I have been able to solve it.
I had to comment this line in the location
location / { proxy_pass http://backend/; #try_files $uri $uri/ =404; }
Thanks for your time. It's really appreciated
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Daniel,
Here is how the site looks
i am thinking, could the root there be the problem?
I have removed it and it's still the same thing.
Hi again Daniel,
I have been able to solve it.
I had to comment this line in the location
Thanks for your time. It's really appreciated