Comments (6)
You can configure the reverse proxy.
from self-hosted.
actually, I don't know if my configuration is good enough for the other requests to be in https
(I changed my domain name and ip to "domain.com" and "ip")
map $http_host $revolt_upstream {
domain.com http://ip:5000; #revolt app
domain.com:8000 http://ip:8000; #API
domain.com:9000 http://ip:9000; #ws
domain.com:3000 http://ip:3000; #Autumn
domain.com:7000 http://ip:7000; #January
domain.com:8080 http://ip:8080; #vortex
}
server {
server_name domain.com *.domain.com;
if ($http_upgrade) {
rewrite ^(.*)$ /ws_78dd759593f041bc970fd7eef8b0c4af$1;
}
location / {
proxy_pass $revolt_upstream;
proxy_set_header Host $host;
}
location /ws_78dd759593f041bc970fd7eef8b0c4af/ {
proxy_pass $revolt_upstream/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade;
proxy_read_timeout 24h;
}
listen 80; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/cocamserverguild.ddns.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/cocamserverguild.ddns.net/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
from self-hosted.
I would like to know if it is possible to activate an https (for Revolt) with let's encrypt and Nginx.
I can only put the port 5000 (which works with Nginx to display the login page)
To connect (as a request is sent to port 8000) I can't get it to https with let's encrypt. I would like to know if it is possible to switch the port to https
Having the exact same issue with regards to port 8000 connections and https. Works fine in http.
from self-hosted.
You can configure the reverse proxy.
How?
from self-hosted.
Cocam123 > Nginx config stuff
Would IP be external IP or Internal?
from self-hosted.
In an effort to clean up the global issue tracker, I'm currently consolidating all issues regarding self-hosting into #25 (comment).
from self-hosted.
Related Issues (20)
- bug: Network error HOT 2
- bug: serving pterodactyl behind reverse proxy causes DOMException: The operation is insecure. HOT 3
- bug: in Debian Bullseye VM in docker january says 'GLIBC_2.29 not found required by ./january' HOT 5
- feature request: Add server minimum specifications HOT 9
- bug: s3Error HOT 2
- bug: Vapid Keys guide is down HOT 6
- bug: revolt api doesn't proccess website embeds HOT 3
- bug: Not reading from REVOLT_EXTERNAL_WS_URL HOT 6
- DOMException: The operation is insecure on login HOT 4
- bug: no invite code for server HOT 3
- bug: Rust Panic from failed migration HOT 2
- [Docs] Both initial FAQ links in the Readme 404 HOT 1
- bug: Giving Roles to users as the owner of the server throws 403 in Console HOT 2
- How to edit Revolt.toml on Docker? HOT 5
- bug: Unable to use external mongo database. HOT 2
- bug: Revolt.toml requires two additional fields under smtp HOT 1
- feature request: install revolt without docker HOT 2
- bug: bonfire minio/mc eqalpha/keydb can't start
- bug: Can Sign Up Unknown Error HOT 4
- bug: NETWORKERROR on fresh install using non-standard port HOT 2
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 self-hosted.