Comments (8)
This is actually possible:
NGINX:
server {
listen 80;
server_name bungeeweb.domain.tld;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://127.0.0.1:<BungeeWebPort>/;
proxy_redirect off;
}
}
With Apache2 it is a little more difficult, I am searching for an easy solution right now.
from bungeeweb.
@Dead-i I would like to see something like this, I think this would be kinda cool, plus you can always call on recon when you separate the webserver from the plugin.
from bungeeweb.
Thanks for the suggestion. :)
Allowing people to host the files could be a good option to achieve this, yes. However, my main concern with this is that, with the current setup, BungeeWeb's standalone webserver could never go away completely, even with the files separated.
This is because any query sends an Ajax HTTP request to the webserver. For example, when logs are retrieved or refreshed, it will send a request to 127.0.0.1:8080/api/getlogs. For searching a player, the plugin will send a request to 127.0.0.1:8080/api/getplayers. If we remove the webserver completely, there would be nothing to serve these requests.
Would still keeping the barebones of the webserver (the API) be a problem? Perhaps a good way to get around this would be to use web sockets...
from bungeeweb.
However, it is still possible to run BungeeWeb on a subdomain anyway with the current setup, provided you have an IP address spare. You could theoretically run BungeeWeb on port 80 on a spare IP address, and then point the subdomain of your choice to this IP address.
from bungeeweb.
be cool also if there was a way to get something like mything.bw.domainexstension if your going to add support for this.
from bungeeweb.
Well, I dont understand your problem here right now, BungeeWeb is running perfectly fine with this NGINX configuration, and why you would want to remove the internal webserver from BungeeWeb? This is just proxying the results from BungeeWeb to the subdomain.
from bungeeweb.
@Apfeluser I was more responding to @TheDoctorsLife's message than you, sorry, as he mentioned:
you can always call on recon when you separate the webserver from the plugin.
I've always intended for BungeeWeb to have an integrated webserver as it does now, as it really simplifies the installation process. However, I've had quite a few requests to separate the webserver, and I was curious what you all thought about this.
Practically though, it doesn't seem to make much sense to separate them, as you said.
Anyway, it's great that you've got a nginx configuration working, and I'll definitely be playing around with this later! =)
Thanks
from bungeeweb.
When I said that I wasn't meaning to get rid of the webserver but to offer the ability to do so.
from bungeeweb.
Related Issues (20)
- Account tab issue HOT 3
- Drop Minotar support and add Cravatar support! HOT 7
- Manage configuration/permissions from the web
- Display and allow filtering of originating server (useful for chat logs) HOT 1
- Add support for multiple proxy servers
- Enhanced player dialog HOT 3
- Live updates
- Add scandinavian symbols
- "autosearch" causes duplicate listings in search results.
- Erreur BungeeWeb HOT 2
- IP Lookup
- URL Path Prepending
- Search player log by date.
- Sort by server/Indicate server in all logs
- More Statistics & Graphs!
- Add SSL Support HOT 2
- Chat is not displayed in a different language
- A erro with pasward HOT 1
- Error on response HOT 1
- venturechat compatibility
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 bungeeweb.