Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.
/ pointrelais Public archive

Utilisé pour une quête

License

Notifications You must be signed in to change notification settings

Almyria/pointrelais

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Point Relais

Utilisé pour une quête
www.almyria.fr

Repo Git Frontend

Stack

ExpressJS ─ Axios

Installation

Conçu d'origine sous Windows 11 Business et testé/utilisé sous Ubuntu 22.04, les autres distributions et OS peuvent fonctionner.

Nécessite :

  • NodeJS 18.16.0 LTS
  • (Production) Un serveur web NGINX
npm install

Configuration

app.js à la ligne 43 :

password1 === "Millenium" && password2 === "ZelvacLeGoat" && password3 === "polygone" && password4 === "Les Ratz"

Configuration NGINX (application/vhost) :

location / {
        proxy_pass http://127.0.0.1:43123;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_set_header X-Real-Ip $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
}

Démarrage

npm start

(back to top)