Cada vez que agrego las siguientes líneas:
ProxyRequests off ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/A mi conf para mi sitio web me sale el error que aparece en el título.
Un poco de contexto sobre lo que estoy tratando de hacer es ejecutar un archivo javascript en mi sitio web. Este es el archivo js que estoy tratando de ejecutar. Lo encontré de un tutorial en youtube y estaba interesado en probarlo.
const Express = require("express"); const App = Express(); const Keys = ["123", "simplewhitelist"]; const secretKey2 = "E);{Q6_<bkrEo;ITBzLfLxTdpMuzSzVIs?}5vyus3l@>+?=>O}uL-(A}M/PJ`w"; const Crypto = require("crypto"); App.use(Express.static(__dirname + '/nodejs')); function hmac(secret, data){ const hash = Crypto.createHash("sha512"); hash.update(secret + data + secret); return hash.digest("hex").toString(); }; App.get("/nodejs/checkWhitelist", (request, response) => { const Key = request.query.Key; const Gamer = request.query.gamer; if(Key && Gamer){ const isKeyValid = Keys.find((key) => key !== null && Key == key); if(isKeyValid){ response.send(hmac(secretKey2, Key + Gamer)) } else{ response.send("Not Whitelisted"); } } else{ response.send("Not Whitelisted"); } }); App.listen(8000, () => { console.log("App started"); });