Comments (14)
Hey thanks for your enhancement. I don't really a reason for this feature because a reverse proxy would easily do this job. You just could spin up a reverse proxy container. Can I ask why you don't want to use a reverse proxy?
from pingvin-share.
from pingvin-share.
Sorry I don't know anything about SSL directly with Node.js, I'm not even sure if this is possible.
Additionally using SSL directly hasn't any advantages, or has it?
But you can easily enable SSL with a reverse proxy: https://domysee.com/blogposts/reverse-proxy-nginx-docker-compose
I personally use Nginx Proxy Manager, this is a reverse proxy with a GUI.
from pingvin-share.
from pingvin-share.
There are plenty node.js files. For the frontend they are placed in the /frontend/src
folder. The frontend uses nextjs btw.
from pingvin-share.
+1 for https
I would love to be able to spin up this container with TLS support.
from pingvin-share.
Additionally using SSL directly hasn't any advantages, or has it?
There are advantages. Encryption and possibly trust in the internal network. "Zero Trust".
from pingvin-share.
from pingvin-share.
I've never set up SSL directly with NextJS. If someone knows how to setup https directly with NextJS, feel free to create a PR :)
from pingvin-share.
from pingvin-share.
I think NextJS creates the http server automatically in the background. But there is a way to create a custom web server with NextJS, but never used it before.
from pingvin-share.
from pingvin-share.
@woreibi Thanks for your tries :) Sorry but I really don't know what you mean with a config file. There is a nextjs config file, but related to nodejs and nextjs there isn't any other config file.
As a work around, you could add nginx to the docker compose stack. With this solution the data is only not encrypted in the docker network. I understand this is not the solution you want, but it's pretty secure. The only way a "hacker" could read the traffic, is when he has access to the docker container and when he has access to the docker container, he easily could read the database.
from pingvin-share.
from pingvin-share.
Related Issues (20)
- š Feature: Requesting that the chunk file size be a configurable option HOT 8
- š Bug Report: Warning: 'xx' is defined but never used. no-unused-vars HOT 1
- ā Question: "next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead? HOT 2
- š Language request: Hungarian HOT 1
- ā Question: Is it possible to use MariaDB as Database? HOT 1
- ā Question: Uncaught Error: Minified React error #425 HOT 5
- š Feature: Upload IP Restrictions HOT 2
- ā Question: Configure Authelia HOT 4
- ā Question: Updating past docker image 1.22.1 HOT 6
- š Bug Report: Share and reverse share emails not working HOT 7
- After Update not running HOT 2
- š Feature: Default share expiration configurable in administration
- ā Question: HOT 2
- š Feature: Decouple "shares" from a reverse share (allow for shares created under a reverse share to be deleted individually by an admin) HOT 1
- ā Question: Is there a Discord server? HOT 6
- š Feature: Make "Name" a universal thing HOT 1
- š Language request: <Korean> HOT 1
- š Bug Report: 500 (Internal Server Error) when using the "Name" field HOT 17
- š Feature: Admin Share Management page enhancement
- ā Question: Email / Webhook notification on share update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pingvin-share.