All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
111 views

How to serve / from a static file, but the rest of the root directory from a proxy (NodeJS)?

I've tried the following: # this *should* serve the root from a static index.html file location = / { try_files $uri $uri.html $uri/ /index.html; } # resources are served ...
fadedbee's user avatar
  • 2,068
0 votes
0 answers
30 views

Nginx non-'base' location into base proxy_pass, location not being inherited in frontend

I can't figure out how to word the question properly, but I'm pretty sure someone has encountered this problem already and I just can't figure out what keywords I should be looking for. So here's the ...
ZekiraDrake's user avatar
1 vote
1 answer
20k views

502 from Apache over HTTPS with reverse proxy to Node server on different port

I have a node application running on port 3030 for an API which I want to access over HTTPS. If I visit http://api.example.com:3030/*** I can load a 200 response with no problem so the node ...
Robert's user avatar
  • 113
0 votes
1 answer
303 views

Forward or Reverse proxy?

I have a webapp running on CentOS 7 with Apache that uses the xmlhttprequest and fetch apis to access an Express Server (NodeJS) running on the same machine. My webapp is using port 80 for incoming ...
MateoIO's user avatar
  • 103
0 votes
1 answer
929 views

Is it possible to proxy my custom .local address to a port?

I want my local server (available at localhost:12345, where 12345 is a random port) reachable via custom.local (which is enabled via multicast-dns). I have console logs setup to ensure things are ...
NetOperator Wibby's user avatar
0 votes
1 answer
2k views

Proxy machine to forward SQL Server request onto another SQL Server machine in the Azure cloud

So a current problem is that we inherited many machines that have total of about 500 application exe's. We are physically moving and have realized that someone had not saved source code and there are ...
Jeremy Miller's user avatar
4 votes
1 answer
4k views

Unable to get websockets to work through apache HTTPS proxy (302 error)

I'm unable to make websockets work on a node backend using an apache proxy through HTTPS to connect to the node instance. Websockets are working properly if no (apache) http(s) proxy is used. My ...
Digital Leaves's user avatar
0 votes
1 answer
343 views

Are nodejs apps with proxy that has SSL certificate still secure?

I wrote a node.js app to deal with processing forms on a business's website. These forms can contain sensitive information so I knew it needed an SSL certificate. Since I didn't want to serve my node ...
cmelone's user avatar
  • 33
1 vote
0 answers
322 views

nginx proxy cache configuration for user authentication web application

I have a web application in node + express + passport + mongo database + ejs and single application is configured to handle all the sub-domains. I'm using nginx as proxy server, I need to and must use ...
Ningappa's user avatar
  • 111
1 vote
1 answer
75 views

Setting up Node App along with nginx server

I am trying to set up a new node all along with my previous PHP app. Scenario The php app runs on www.xyz.com. It is served using nginx. The node app is served via NodeJs server on port 8142. I ...
Ateev Chopra's user avatar
1 vote
1 answer
791 views

Nginx serving page through frameset [closed]

I'm using Nginx to serve proxy requests to nodejs running on port 3000. Here's my config: server { listen 80; server_name example.com; root /home/example/app; access_log /home/example/access....
greatwitenorth's user avatar
0 votes
1 answer
242 views

Proxy-attack simulation

I have a WS2008 x64 server, that has NodeJS application working on its 80 port. Server constantly receives queries from different IP-addresses that are trying to use my application as a proxy. NodeJS (...
Aleksandr's user avatar
  • 103
0 votes
1 answer
985 views

NGINX and Node.js Caching returning the same results on all subfolders

We use NGINX to proxy a connection to a Node.js instance running on the same server. Without caching turned on for that location, at one level (i.e. /v1/streams/) it returns a 2MB json file. If an ...
Kerry Knopp's user avatar
3 votes
4 answers
8k views

Hosting multiple Nodejs applications on a single port

I'm trying to run multiple nodejs applications (using the express framework) all served on the same external port (80) but each under a subdirectory. E.g. I want... NodeJsApplication1 to be ...
AverageMarcus's user avatar
0 votes
1 answer
121 views

nginx not starting with multiple nodejs apps

i have this config in sites-enabled/default upstream domainone.com.ar { server 127.0.0.1:9000; } server { listen 80; server_name www.domainone.com.ar; rewrite ^/(.*) http://domainone.com.ar/$1 ...
andrescabana86's user avatar
6 votes
2 answers
12k views

Proxying websocket traffic from nginx 1.3.13 to socket.io (without SSL)

As of 2 days ago, nginx started to support websocket connections, therefore I was trying to get my nginx-nodejs-socket.io application to work without HAproxy ect (not much luck though). What I want ...
Skeptic's user avatar
  • 191
3 votes
1 answer
6k views

Proxy to "backend" service whenever a file does not exists

I'm using NGINX to serve static file. Whenever a file does not exist, I want NGINX to hit a nodejs backend service that will try to asynchronously retrieve that file. The backend service needs 3 ...
ZogStriP's user avatar
  • 164
6 votes
2 answers
4k views

Does it make sense to reverse proxy Node.js through Apache?

Perfomancewise, does it make sense to redirect requests from an Apache VirtualHost to a Node.js instance? Does proxying counterbalance the awesome Node.js performance? FYI: I also need a couple of ...
Daniel's user avatar
  • 215
12 votes
2 answers
18k views

Akward delay to connect Apache's proxy request to a node.js App

In my Ubuntu Server 10.04 I'm running an example node.js app: var http = require("http"); function onRequest(request, response) { console.log("Request received."); response....
Herman Junge's user avatar