All Questions
Tagged with node.js apache-2.4
55
questions
0
votes
1
answer
55
views
PM2 + apache2 Optimization
I am running a Node.js application with PM2 as a reverse proxy through Apache on my Centos 7 server. The website experiences very slow loading times, and its performance is quite poor. Can anyone ...
0
votes
0
answers
237
views
Apache Proxypass with SSL extremely slow
We have a server with the spec 8 vCore and 16GB RAM. At its peak, the server uses only 15 to 25% CPU and around 40% of RAM.
The issue that we face is once the number of users start increasing, the ...
0
votes
1
answer
538
views
How to configure Apache to handle two reverse proxies one one domain/server name?
I've got a node-react app on port 3000, and a node/express API running on port 3001 (localhost:3001/api). I need a reverse proxy setup in Apache that will put the React app on https://example.domain....
1
vote
1
answer
704
views
how to run next.js using NODE and react.js at the same time on apache server
I have to run 2 different apps on the same domain at the same time. I want to forward all requests to localhost:3000, if url contains /presscenter, if not, default should be my react.js application. ...
-2
votes
1
answer
38
views
Server with scalability for real-time collaboration and editing [closed]
I am here, to ask for absolute input. I have setup a local Apache Server with PHP 7.2 (currently), I am aware newer PHP exists. I know PHP and Python, I also know Node.js (server/back-end).
With Node....
0
votes
1
answer
134
views
Apache2 server getting so many unusal requests again and again
I am trying to configure the WordPress and NodeJS website together and I am using an apache2 server and ubuntu(20.04) virtual machine. I configured both applications successfully on my machine but ...
0
votes
0
answers
217
views
Apache reverse proxy to Node server bypass
I have an Apache server that is working as a reverse proxy to a node server. I'm trying to bypass the proxy for a static file i.e. ads.txt
I have the following conf:
<Files "ads.txt">...
2
votes
0
answers
7k
views
Apache reverse proxy to Node - Connection refused: AH00957
I am trying to get a brand new cloud based server working with a default version of 20.04 server ubuntu working with apache and node. The node server appears to be running without issues reporting ...
0
votes
1
answer
2k
views
Passenger Apache - Forbidden You don't have permission to access this resource
I'm stuck with Apache with Passenger configuration. I spent a few days looking for a solution. I follow this instructions. I'm getting this message in the browser:
Forbidden
You don't have permission ...
0
votes
0
answers
217
views
How do I get a graceful shutdown of Node.js running on Apache/CentOS/Plesk?
Hopefully this question has an answer that's generic to Apache and Node.js, and not specific to Plesk ('cause I know how you feel about Plesk-specific questions!).
I recently decided to add some text ...
0
votes
2
answers
1k
views
How to Proxy Rest API endpoint on Apache HTTPd. React Frontend and NodeJS Rest Endpoints
Ive been trying to figure how to proxy my REST API endpoints in in Apache HTTPD.
Apache HTTPD 2.4.6 (Centos)
Front End - React Appliction (create-react-app)
Node JS API Endpoints via port 9000. Im ...
1
vote
1
answer
264
views
How do ProxyPass from Apache to node.js so I can drop the port number in my local URL?
I'm trying to use a domain name for local development of a next.js app. Normally, it fires up at localhost:3000 but I'd like to use site1.local (and no port).
I've edited my hosts files to point the ...
0
votes
1
answer
357
views
Is it possible to forward a port for one app only?
I have a Ubuntu server (18.04) which hosts some websites on Apache2, and also has a node app running. I want the node app to use SSL, but as it's not running as root it doesn't have permission to ...
0
votes
1
answer
3k
views
Apache reverse proxy to nodejs server on CentOS 7 (WHM)
I'm trying to setup my site on the server. I've uploaded it and it's currently running on the server but the problem comes when I try to setup a reverse proxy on the domain so that I can access the ...
0
votes
0
answers
509
views
Configure Apache Web Server (shared hosting) to provide simultaneous Web and Websocket Access
I'm trying since some days to find a way to configure simultaneous websocket and web server connections with one same Apache Web Server I have on a shared hosting basis. Now, before giving that up and ...
0
votes
1
answer
266
views
secure reverse proxy apache server still getting requests to other domains in access log
I've been trying to setup apache (port 80) as a reverse proxy to a nodejs server (port 3000) and I made the mistake of launching my apache server with ProxyRequests On. I discovered this error after ...
6
votes
1
answer
53k
views
how to fix apache2 "proxy_http:error" AH01102: error reading status line from remote server localhost:4382
how to fix apache2 "proxy_http:error" AH01102: error reading status line from remote server localhost:4382.
I have an apache2 webserver which is being used to serve few nodejs applications in the ...
0
votes
1
answer
2k
views
Apache reverse proxy to nodejs server on CentOS 7.7 (WHM)
I'm trying to setup an apache reverse proxy when accessing mysite.com to 127.0.0.1:3001, by setting up a virtual host in the WHM > Apache Configuration > Include Editor > Post VirtualHost Include (all ...
0
votes
1
answer
2k
views
Cannot set up port proxy with NodeJS, React, Apache, and LetsEncrypt
I've got the following server setup (Ubuntu 19.04):
NodeJS (Express) backend on port 3333
React frontend in /var/www/example.com
Apache with LetsEncrypt and automatic http > https redirect
I'm ...
0
votes
0
answers
104
views
Virtual Host Forbidden enabled SSL
I want to run nodeJs server on virtual host. If I don't use https everything is working. But when I use https I get forbidden error. How can I solve?
<IfModule mod_ssl.c>
<VirtualHost api.***...
0
votes
0
answers
283
views
Deploy MEAN stack app in a subdirectory
I'm trying to host a node app on www.domain.com/nodeapp. I've already got www.domain.com website hosted on apache server. I've created a reverse proxy in apache configuration.
ProxyPass /nodeapp http:...
1
vote
1
answer
5k
views
How can I block certain URLs in apache httpd when using proxy pass?
My site is using apache httpd to do the reverse proxy to an app running in Express (Node.js app). Have 2 express servers, one for backend, another for frontend hosting.
Right now I'm trying to block ...
1
vote
0
answers
669
views
Socket.io proxy through Apache and its performance
I am trying to setup a server for a Socket.IO game, but we will also have a little landing page in php served through Apache.
I managed to make the server work by doing a proxy from Apache to the ...
2
votes
0
answers
139
views
Failed to renew SSL certificates using Certbot's "dry-run" command
I was using apache for my website and created the SSL for Apache. Then for some reason, I have to change my server from Apache to Node.js. To do that I just copied the SSL certificates path from ...
1
vote
1
answer
2k
views
NodeJs app through Apache proxy - no static files
I have a question similar to: Apache ProxyPass ignore static files, but I'm not able to solve mine, so looking for some help.
I have this .conf file:
<VirtualHost *:80>
ServerName hci.local
...
1
vote
0
answers
786
views
Apache SSL reverse proxy to a node server using websockets
Browsing to a root domain like https://sub.example.com and navigating through pages such as https://sub.example.com/page1 works.
But only if I start my initial connection at the root. If I refresh ...
0
votes
1
answer
1k
views
How to serve wordpress (LAMP) and Angular (Node/Express) app on same server/domain
I'm currently running a web server with Ubuntu 16.04, serving up a Wordpress site, using LAMP stack and LetsEncrypt SSL to encrypt the website. I'd like to be able to run an Angular app with the MEAN ...
0
votes
1
answer
2k
views
Nodejs/Apache config for proxy pass
I want to use Nodejs/Apache proxy pass to serve my APIs, but after add below apache(httpd) config, it seems that config not working.
OS:
CentOS 6
/etc/httpd/conf/httpd.conf:
...
<VirtualHost *:...
1
vote
1
answer
550
views
How to handle session id from expressjs behind a apache2.4 webserver
I have a apache 2.4.29 with TLS activated to handle static files. Then i have a proxy configured to pass dynamic content to a NodeJS 10.5.0 with:
ExpressJS 4.16.3
express-session 1.15.6
session-file-...
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 ...
0
votes
1
answer
2k
views
Serve node.js app without sudo (apache) [closed]
Situation: I have an access to a directory 'public' on a server (which is no my). Content of this directory is public by www.size.com/~user, if I place there html file (for example index.html) browser ...
3
votes
1
answer
6k
views
SSL Permission Error: Node.js with HTTPS + Let's Encrypt SSL + Apache + Non-Root User
I have a Node.js server set up and I am trying to use HTTPS with my Let's Encrypt certificate on Apache. Here is the relevant code I have set up:
var fs = require('fs'),
https = require('https'),
...
0
votes
1
answer
2k
views
NodeJS ExpressJS Networking Domain on Apache WebServer
I come from the LAMP world so I am a bit confused on how to serve an ExpressJS application from my webserver.
I have multiple Apache virtualhosts that all point to various directories and specify ...
1
vote
1
answer
8k
views
Using ProxyHTMLURLMap to redirect css and js requests
I already have apache 2.4.19 installed on my Ubuntu 16.04 working with Tomcat.
I'm trying to add a node app and redirect all requests for /node to http://localhost:3000 with ProxyPass.
My node app is ...
-1
votes
1
answer
138
views
Hosting node application on separate computer than Apache web server
I am attempting to create a virtual host to connect a computer running a node application (Computer B 12.34.56.78) to a computer running my Apache web server (Computer A 12.34.56.77). Everything I ...
0
votes
1
answer
447
views
single IP VPS - how to run apache / multiple nodejs on separate domains on port 80?
I know it isn't the optimal solution
I have several apache sites running on port 80 - i wanted to a add a nodejs app - works fine on port 8000.
I am using this setup
http://physalix.com/reverse-...
1
vote
1
answer
4k
views
nodejs proxied from apache: The proxy server received an invalid response from an upstream server
I have nodejs server and some static content to serve. I am using apache 2.4 for this purpose as I need to configure multiple hosts on same machine.
I have following configuarion for my virtual host ...
3
votes
2
answers
4k
views
Apache VirtualHost with ProxyPass to node.js server refuses to work ('Could not resolve host name')
I'm running local Apache on my mac for development, and also have node.js server running at http://127.0.0.1:8000/.
I use .dev domain for Apache projects and would like .node domain to redirect to ...
0
votes
1
answer
771
views
Node.js app in subpath with Apache 2.4
I have an Ubuntu 14.04 x86 droplet on DigitalOcean with Apache 2.4.7 (the default from Ubuntu repositories). Also, I have a Node.js app running on port 3000, and want to map /node* path on root to /* ...
0
votes
1
answer
518
views
Apache ProxyPass root to NodeJS and /admin to PHP-FPM
I have been trying to handle all requests via a NodeJS, except those going to the /admin directory via mod_proxy, but with no success.
This is the configuration I came up with, but it is not working.
...
1
vote
0
answers
188
views
Passenger has modified NODE_PATH which my app uses during startup
I'm implementing Passenger, on an Apache server (a Digital Ocean droplet, running Ubuntu 16.04), with a Node.js app. Webpack successfully builds the static .js file, and Node successfully runs the ...
0
votes
1
answer
301
views
Hosting a Node.js app (Cloud9 SDK) and using Apache as reverse proxy (over HTTPS) won't work
I've been pulling my hair out trying to get this to work. I'm trying to host the Cloud9 SDK (Node.js) app on port 8080 (or whatever port higher than 1024) and use Apache as a reverse proxy over HTTPS ...
-3
votes
1
answer
884
views
Is it possible to set same port work with http and https?
I've nodejs application which port number is 3001 and this app working with http but not work with https. On apache server, set the revers proxy for 80 or 443 to 5001 and set revers proxy for 3001 ...
1
vote
1
answer
2k
views
CONNECT Method Allowed in HTTP Server Or HTTP Proxy Server Vulnerability
My setup details:
OS : RHEL7
Webserver : Apache http server(SSL enabled)
AppContainer : NodeJS
Webserver connects to NodeJS via mod_proxy.
I blocked the connect method in apache ...
2
votes
2
answers
7k
views
SSL and ProxyPass
js server running on 8200 and I just got some SSL certificates for my domain. I want to be able to serve my page over HTTPS.
So far my apache config file is like so
File: /etc/apache2/sites-enabled/...
1
vote
2
answers
502
views
CentOS 7.2 / ProxyPass local address okay, localhost and 127.0.0.1 error
Have some development hosts we're trying to run Apache/PHP and Node.js on. Ideally simple ProxyPass for node services running against local port should work, but for some reason I need to supply ...
1
vote
1
answer
6k
views
Running Node js app on subdomain of Apache 2.4 server
I am trying to run a Node js app on port 8000, and have Apache 2.4.7 proxy a subdomain to that port on localhost. I'm able to get the node app served as a page ( http://example.com/nodeapp ) using a ...
0
votes
1
answer
1k
views
nginx reverse proxy for Apache and a Node app
I have a CentOS VPS, running Apache. Previously I just used it for hosting a bunch of PHP and static HTML websites, under various domains, and everything worked fine.
Then I developed a simple Node....
1
vote
1
answer
8k
views
Socket IO combined with apache ssl server
I'm trying to run a NodeJS server on port 8000 along with my Apache server which has a ssl certificate. I'm using virtual hosts and proxypass to link from my apache website through the /node path to ...
0
votes
1
answer
5k
views
run Apache and node.js in subfolder
I would like to run a meteor.js app in a subfolder (/home/www/public/v1) of a domain (/home/www/public) served by an Apache (2.4.7) server.
I have set up a virtualhost which listens to port 80, and ...