Questions tagged [http-proxy-middleware]

Node.js proxying made simple. Configure proxy middleware with ease for connect, express, browser-sync and many more. Powered by the popular Nodejitsu http-proxy.

176 questions
0
votes
1 answer

http-proxy-middleware create new session for per request

I build a proxy with http-proxy-middleware and it generates new session for every request, thus I can't validate the login status with token store in session.anynoe has idea to resolve this issue. enter image description here enter image description…
Chad Ding
  • 11
  • 2
0
votes
1 answer

Angular2/Angular seed http-proxy-middleware proxy api requests

Im using the Angular Seed project and trying to set up a proxy for api requests for a backend service that is running on a different port. My code so far: /* Add proxy middleware */ this.PROXY_MIDDLEWARE = [ require('http-proxy-middleware')({ …
Steve Fitzsimons
  • 3,190
  • 7
  • 24
  • 57
0
votes
1 answer

proxy not serving for get request : http-proxy-middleware

I am using http-proxy-middleware for reverse proxying the application in order to avoid CORS during development. Following is the setup for http-proxy-middleware that is being used. I am getting the response for each method except GET. Setup :…
0
votes
1 answer

How do I run multiple Apps on Express without routing?

I have 2 apps I am looking to add to my profile website which itself is an express app. I want to run these apps under a /projects route such that we can have localhost/projects/app1 and localhost/projects/app2 I want all the sub routes for each app…
0
votes
1 answer

Angular 2.0 service call not going through http-proxy-middleware

I have an Angular 2.0 application and recently I added http-proxy-middleware with the following bs-config.js: var proxyMiddleware = require('http-proxy-middleware'); module.exports = { server: { port: 3000, middleware: { …
Adolfo Perez
  • 2,665
  • 3
  • 34
  • 55
0
votes
1 answer

Using a simple vue.js/webpack setup, how does one configure the dev server to proxy everything EXCEPT a few .js and .vue files?

So some quick background on the site's current setup: My company's site currently runs off of a CMS. All pages are generated and routed via the CMS, so there are no .html files anywhere. It's all generated via razor (.cshtml), the CMS as a…
0
votes
1 answer

Browser-sync&lite-server: http-proxy-middleware intercepts non-existing urls

I have the following routing in the angular2 app: /** Application routes */ const routes: Routes = [ { path: '', component: LandingComponent }, { path: 'about', component: AboutUsComponent }, // catch all path, should go after all…
0
votes
1 answer

Express, http-proxy-middleware and net::ERR_CONNECTION_REFUSED

I been trying to debug an issue I have with have a Express App thats uses http-proxy-middleware to forward requests to another backend service. There is a third part application that calls my server by making a request that explicitly uses an IP…
Code Uniquely
  • 6,056
  • 4
  • 26
  • 39
-1
votes
0 answers

I want to make a instagram story like pg talal's story that crashes people's android or ios devices

I did some research and found that somehow he managed to change the size of instagram stickers by using something called "Http Proxy"(which I have no idea about what it is). So he increased length and the width of a timer sticker sooooooooooo... big…
-1
votes
1 answer

Angular, Express & http-proxy-middleware. How to reach remote server?

I'm building MEAN stack app, so I have at backend node+express server, Angular on front. Atm I need to reach a remote non-cors server with data by sending a POST request to it. Googled for a day, and understand that I need to establish a proxy…
Kirill K
  • 107
  • 1
  • 10
-3
votes
2 answers

Authentication between proxy server and main server

Authentication between proxy server and main server I had build proxy server in nodejs and i had also build three other main server. request goes from proxy server to other three server according to routes. i want to make communication between proxy…
1 2 3
11
12