Hi Daniel,

Please refer to the below details

$ npm start

> api-console@6.6.32 start
> node demo/index.js

Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly:
https://github.com/browserslist/update-db#readme
es-dev-server started on http://localhost:8000
  Serving files from '/var/www/html/api-console'.
  Opening browser on '/demo/'
  Using history API fallback, redirecting route requests to
'/demo/index.html'
  Using auto compatibility mode, transforming code on older browsers based
on user agent.

*httpd.conf file configuration*
#cat /etc/httpd/conf.d/nodejsnodejsssl.conf
<VirtualHost *:443>
    SSLEngine On
    ServerName nodejs.mydomain.com
    SSLCertificateFile /etc/letsencrypt/live/nodejs.mydomain.com/cert.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/
nodejs.mydomain.com/privkey.pem
    SSLCertificateChainFile /etc/letsencrypt/live/
nodejs.mydomain.com/chain.pem
    <Location />
        ProxyPass http://localhost:8000/
    </Location>
</VirtualHost>

When i hit https://nodejs.mydomain.com/demo/index.html I see the below in
both httpd error and access logs

#pwd
/var/log/httpd
# cat error_log
[Thu Jun 22 00:06:34.161122 2023] [suexec:notice] [pid 16995:tid 16995]
AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 22 00:06:34.196360 2023] [http2:warn] [pid 16995:tid 16995]
AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm
determines how things are processed in your server. HTTP/2 has more demands
in this regard and the currently selected mpm will just not do. This is an
advisory warning. Your server will continue to work, but the HTTP/2
protocol will be inactive.
[Thu Jun 22 00:06:34.197101 2023] [lbmethod_heartbeat:notice] [pid
16995:tid 16995] AH02282: No slotmem from mod_heartmonitor
[Thu Jun 22 00:06:34.243545 2023] [mpm_prefork:notice] [pid 16995:tid
16995] AH00163: Apache/2.4.57 (IUS) OpenSSL/1.0.2k-fips PHP/8.1.20
configured -- resuming normal operations
[Thu Jun 22 00:06:34.243596 2023] [core:notice] [pid 16995:tid 16995]
AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
#cat access_log
172.16.16.45 - drupaladmin [22/Jun/2023:00:06:45 +0530] "GET
/demo/index.html HTTP/1.1" 404 25644 "-" "Mozilla/5.0 (Macintosh; Intel Mac
OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0
Safari/537.36"
172.16.16.45 - drupaladmin [22/Jun/2023:00:06:45 +0530] "GET
/demo/index.html HTTP/1.1" 404 25644 "-" "Mozilla/5.0 (Macintosh; Intel Mac
OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0
Safari/537.36"

Please suggest further. Thanks in advance.



Best Regards,

Kaushal

Reply via email to