DavidBWieler
New Pleskian
Trying to proxy_pass Nginx to a node app, but nothing I do works.
I've tried to add my "location / {}" to
include "/var/www/vhosts/system/example.com/conf/vhost_nginx.conf";
but it gives me an error saying that it's a duplicate.
I've also tried adding the new routing to "Additional nginx directives", but it gives me the same error.
I also tried adding, "location ^~ /$ {}"
But that does nothing as well, but I get no errors with this one.
I need to force Nginx to port forward everything on port 80 and 443, (I have a working SSL Cert that DOES work if I go directly to my node app, https://example.com:3000).
How can I get Plesk's Nginx configs to proxy_pass everything to my node app? I've also tried installing JXCore's Node Extension. I get an error, and their support people dont respond to questions.
I've tried to add my "location / {}" to
include "/var/www/vhosts/system/example.com/conf/vhost_nginx.conf";
but it gives me an error saying that it's a duplicate.
I've also tried adding the new routing to "Additional nginx directives", but it gives me the same error.
I also tried adding, "location ^~ /$ {}"
But that does nothing as well, but I get no errors with this one.
I need to force Nginx to port forward everything on port 80 and 443, (I have a working SSL Cert that DOES work if I go directly to my node app, https://example.com:3000).
How can I get Plesk's Nginx configs to proxy_pass everything to my node app? I've also tried installing JXCore's Node Extension. I get an error, and their support people dont respond to questions.