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}`);
});
tux-gpt - Assistente de IA para o Terminal
Instalação e configuração do Chrony
Programa IRPF - Guia de Instalação e Resolução de alguns Problemas
Como instalar no Linux Jogos da Steam só para Windows
Instalando o Team Viewer no Debian Trixie - problema no Policykit
O Que Fazer Após Instalar Ubuntu 25.04
Copiar Layout do Teclado para aplicar em outra Distribuição (4)
QUERO USAR ABNT 2 NO LINUX MINT (1)
Alguém poderia me ajudar a escolher peças pra montar um desktop? (32)