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}`);
});
Comparação entre os escalonadores BFQ e MQ-Deadline (acesso a disco) no Arch e Debian
Conciliando o uso da ZRAM e SWAP em disco na sua máquina
Servidor de Backup com Ubuntu Server 24.04 LTS, RAID e Duplicati (Dell PowerEdge T420)
Visualizar câmeras IP ONVIF no Linux sem necessidade de instalar aplicativos
Overclocking Permanente para Drastic no Miyoo Mini Plus
Problemas de chaves (/usr/share/keyrings) no Debian
Converter os repositórios Debian para o novo formato com as chaves
Rede wifi com mesmo ip da rede eth (2)
como resolver o problema de som do linux mint mate (3)
Primeiras impressões do Debian 13 (2)