
Enviado em 14/10/2022 - 15:39h
Olá,import express from "express";
import * as dotenv from "dotenv";
import app from "./app.js";
import {} from "dotenv/config";
import fs from "fs";
import https from "https"
https
.createServer(
// Provide the private and public key to the server by reading each
// file's content with the readFileSync() method.
{
key: fs.readFileSync("/etc/letsencrypt/live/fischerserver.shop/privkey.pem"),
cert: fs.readFileSync("/etc/letsencrypt/live/fischerserver.shop/fullchain.pem"),
},
app
)
.listen(3333, () => {
console.log(`server HTTPS is running on port: (3333); .env.PORT: ${process.env.PORT}`);
});
Como atualizar sua versão estável do Debian
Cirurgia para acelerar o openSUSE em HD externo via USB
Void Server como Domain Control
Quer auto-organizar janelas (tiling) no seu Linux? Veja como no Plasma 6 e no Gnome
Copiando caminho atual do terminal direto para o clipboard do teclado
Script de montagem de chroot automatica









