Archive obviousteam-eaglercraft-server (server, 1.5.2, clean)
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"slug": "obviousteam-eaglercraft-server",
|
||||||
|
"name": "Eaglercraft 1.5.2 Server Template",
|
||||||
|
"category": "server",
|
||||||
|
"mc_version": "1.5.2",
|
||||||
|
"author": "ObviousTeam",
|
||||||
|
"license": "unknown",
|
||||||
|
"upstream_ref": "main",
|
||||||
|
"sha256": "49fb00044b40546be3065ac08325c4f26952fa9a9fdcdbe9a217c0d7a3b4ba52",
|
||||||
|
"size": 20460,
|
||||||
|
"storage": {
|
||||||
|
"git_path": null,
|
||||||
|
"fs_url": null
|
||||||
|
},
|
||||||
|
"play": null,
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/ObviousTeam/eaglercraft-server",
|
||||||
|
"retrieved_at": "2026-11-28T03:12:00Z",
|
||||||
|
"type": "upstream",
|
||||||
|
"notes": "Cloud server template repository"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"vetting": {
|
||||||
|
"verdict": "clean",
|
||||||
|
"tools": [
|
||||||
|
"vet-static.mjs",
|
||||||
|
"virustotal-hash"
|
||||||
|
],
|
||||||
|
"date": "2026-11-28",
|
||||||
|
"notes": "Static scan: 0 flagged patterns across 8 files; VirusTotal hash lookup: 0 detections.",
|
||||||
|
"reviewer": "vet-static (automated)"
|
||||||
|
},
|
||||||
|
"large_files_omitted_from_git": []
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# Eaglercraft 1.5.2 Server Template
|
||||||
|
|
||||||
|
CraftBukkit 1.5.2 and BungeeCord WebSocket proxy server template designed for cloud environments and local hosting.
|
||||||
|
|
||||||
|
- **Archive page:** https://archive.eaglercraft.tech/entries/obviousteam-eaglercraft-server.html
|
||||||
|
- **MC Version:** 1.5.2
|
||||||
|
- **Author:** ObviousTeam
|
||||||
|
- **License:** unknown
|
||||||
|
- **SHA-256:** `49fb00044b40546be3065ac08325c4f26952fa9a9fdcdbe9a217c0d7a3b4ba52`
|
||||||
|
- **Vetting:** clean (2026-11-28)
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
java
|
||||||
|
old
|
||||||
|
web
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
run = ["bash", "main.sh"]
|
||||||
|
|
||||||
|
entrypoint = "main.sh"
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
# replit eaglercraft server
|
||||||
|
|
||||||
|
[extra help discord server](https://discord.gg/9HfPSp3D)
|
||||||
|
|
|
||||||
|
[anotha one](https://discord.gg/FBqfmDkF2Z)
|
||||||
|
|
||||||
|
### smashed together by [ayunami2000](https://github.com/ayunami2000)
|
||||||
|
|
||||||
|
**THIS REPLIT USES [PluginInstaller](https://github.com/darverdevs/PluginInstaller)**
|
||||||
|
|
||||||
|
**LATEST UPDATE: NOW FORWARDS IPS!!**
|
||||||
|
|
||||||
|
**ALSO, IF IT DOESNT WORK, ANOTHER FIX IS TO RENAME THE REPLIT AND THEN RENAME IT BACK**
|
||||||
|
|
||||||
|
## Helpful video tutorial by a generous user
|
||||||
|
motd changing is DIFFERENT than what these tutorials say!! -- check the `java/bungee_command/config.yml` for how to change (motd1 is first line, motd2 (you can add this) is the 2nd one)
|
||||||
|
|
||||||
|
https://www.wevideo.com/view/2581865286
|
||||||
|
|
||||||
|
YouTube Mirror: https://www.youtube.com/watch?v=As99AOL_-vM
|
||||||
|
|
||||||
|
## [Helpful Google Doc by a generous user](https://docs.google.com/document/d/1MdaQRQbRXb9wXRtdS-c7OGBMcTh9DO8iAKT6fcpdJ5g/edit)
|
||||||
|
Here in case it helps!
|
||||||
|
|
||||||
|
## Usage:
|
||||||
|
Fork it, and press "Run" at the top to run the server!
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
### NOTE: to control, you MUST open the website view in a new tab instead of playing in the editor.
|
||||||
|
|
||||||
|
## To change the server icon:
|
||||||
|
Replace the `server-icon.png` file under `java/bungee_command` with your desired server icon.
|
||||||
|
|
||||||
|
## To run server commands:
|
||||||
|
In the "Console" tab in the replit, you can send server commands.
|
||||||
|
|
||||||
|
## To save progress:
|
||||||
|
**Notice: This is now done automatically, every 5 minutes, using a plugin!** In the server console or in-game as an opped player, run `/save-all` to save the world.
|
||||||
|
|
||||||
|
## Too slow?
|
||||||
|
This is because you are using a free service to host a Minecraft server. Of course it is slow and the only way to fix this is to self-host at home.
|
||||||
|
|
||||||
|
## Getting admin/OP or enabling command blocks
|
||||||
|
To give yourself OP (admin), go to the server console and run `op username` and press enter (replacing "username" with your username in-game).
|
||||||
|
|
||||||
|
To enable command blocks, go to `java/bukkit_command/server.properties` and add a new line at the end: `enable-command-block=true`. Then, restart the server.
|
||||||
|
|
||||||
|
## [Item ID List](http://mineteamleblog.blogspot.com/p/minecraft-id-list-151.html)
|
||||||
|
|
||||||
|
## Plugins
|
||||||
|
Eaglercraft is Minecraft 1.5.2, so plugins you will use will have to be supported by Bukkit 1.5.2 (not Spigot). You can add plugin JAR files into the `java/bukkit_command/plugins` folder.
|
||||||
|
|
||||||
|
**Official Plugin Collection**
|
||||||
|
|
||||||
|
https://github.com/LAX1DUDE/eaglercraft-plugins
|
||||||
|
|
||||||
|
**Some plugins I suggest you use:**
|
||||||
|
|
||||||
|
### [LoginSecurity](https://dev.bukkit.org/projects/loginsecurity/files/711129)
|
||||||
|
Adds /login and /register to your server. **Make sure you turn OFF sessions in the config (run server once after adding plugin, run the server once after adding loginsecurity, go to "plugins/LoginSecurity/config.yml", and change `sessions: use:` from true to false), or else players may be able to "resume session" on any account!**
|
||||||
|
### [Essentials](https://dev.bukkit.org/projects/essentials/files/711777) & [Essentials Extra](https://dev.bukkit.org/projects/essentials/files/711776)
|
||||||
|
"Essential" commands and features for any Minecraft server. Widely popular, even today!
|
||||||
|
### [WorldEdit](https://dev.bukkit.org/projects/worldedit/files/698941)
|
||||||
|
Super popular world editing plugin!
|
||||||
|
### [WorldGuard](https://dev.bukkit.org/projects/worldguard/files/706558)
|
||||||
|
Region protecting. Requires WorldEdit for selecting the regions.
|
||||||
|
### [PlotMe](https://dev.bukkit.org/projects/plotme/files/707659)
|
||||||
|
A once-popular plot plugin for creative OR survival plots to build on!
|
||||||
|
### [SeekAndFind](https://dev.bukkit.org/projects/seekandfind/files/699522)
|
||||||
|
A cool-looking hide-and-seek plugin, BUT I have not tested it so it might not work!
|
||||||
|
### [NoSpawnChunks](https://dev.bukkit.org/projects/nospawnchunks/files/586974)
|
||||||
|
Prevents loading spawn chunks on your server. Helps to optimize it greatly!
|
||||||
|
|
||||||
|
## Not working?
|
||||||
|
1. Make sure you haven't broken any essential files.
|
||||||
|
2. **(try this multiple times, at least 5-10. this fixes the "End of Stream" issue among many, many others)** Try clicking on the "Shell" tab (next to the "Console" tab) and running `busybox reboot`. Then you can try pressing the Run button again and see if it works.
|
||||||
|
3. Join the [official Eaglercraft discord server](https://discord.gg/6yTNkypXWh) and look for any answers there.
|
||||||
|
4. If all else fails, contact me directly **through Discord** at `ayunami2000#5250`
|
||||||
|
5. If you do not have access to Discord, THEN you can leave a comment on the Replit.
|
||||||
@@ -0,0 +1,144 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
#change the following to "false" to disable changing the default server name and motd
|
||||||
|
setserver="true"
|
||||||
|
#change the following to "false" to disable updating of server jars and website
|
||||||
|
syncweb="true"
|
||||||
|
syncjars="true"
|
||||||
|
#server name and motd -- DO NOT USE BACKTICKS (`) within it!! -- stuff WONT work if you DO!! ALSO do not use "${anything}" UNLESS YOU KNOW WHAT YOU ARE DOING!!
|
||||||
|
srvname="Your Minecraft Server"
|
||||||
|
srvmotd="Minecraft Server"
|
||||||
|
|
||||||
|
|
||||||
|
#DANGER!! setting the following to "true" will redownload the bukkit server! only change if you know what you are doing!
|
||||||
|
emergbukkit="false"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#~# this code was smashed together by ayunami2000 #~#
|
||||||
|
|
||||||
|
eagurl="https://raw.githubusercontent.com/LAX1DUDE/eaglercraft/main/stable-download/stable-download_repl.zip"
|
||||||
|
|
||||||
|
echo ensuring old server process is truly closed...
|
||||||
|
nginx -s stop -c ~/$REPL_SLUG/nginx.conf -g 'daemon off; pid /tmp/nginx/nginx.pid;' -p /tmp/nginx -e /tmp/nginx/error.log
|
||||||
|
pkill java
|
||||||
|
pkill nginx
|
||||||
|
rm -rf /tmp/*
|
||||||
|
|
||||||
|
if [ ! -f "updated.yet" ]; then
|
||||||
|
syncweb="true"
|
||||||
|
syncjars="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo checking if file still works...
|
||||||
|
|
||||||
|
status_code=$(curl -L --write-out %{http_code} --silent --output /dev/null "$eagurl")
|
||||||
|
|
||||||
|
if [[ "$status_code" -ne 200 ]] ; then
|
||||||
|
syncweb="false"
|
||||||
|
syncjars="false"
|
||||||
|
echo "
|
||||||
|
|
||||||
|
|
||||||
|
site is down! not updating...
|
||||||
|
|
||||||
|
|
||||||
|
"
|
||||||
|
else
|
||||||
|
echo site is still up! downloading...
|
||||||
|
curl -L -o stable-download.zip "$eagurl"
|
||||||
|
echo extracting zip...
|
||||||
|
mkdir /tmp/new
|
||||||
|
cd /tmp/new
|
||||||
|
jar xvf $HOME/$REPL_SLUG/stable-download.zip
|
||||||
|
cd $HOME/$REPL_SLUG
|
||||||
|
echo deleting original zip file...
|
||||||
|
rm -rf stable-download.zip
|
||||||
|
mkdir web
|
||||||
|
mkdir java
|
||||||
|
mkdir java/bungee_command
|
||||||
|
mkdir java/bukkit_command
|
||||||
|
if [ "$syncweb" = "true" ]; then
|
||||||
|
echo updating web folder...
|
||||||
|
rm -rf web/*
|
||||||
|
cp -r /tmp/new/web/. ./web/
|
||||||
|
echo backing up original index.html file...
|
||||||
|
cp web/index.html web/index.html.ORIG
|
||||||
|
fi
|
||||||
|
if [ "$syncjars" = "true" ]; then
|
||||||
|
echo updating bungeecord server...
|
||||||
|
if [ -f "updated.yet" ]; then
|
||||||
|
rm -f java/bungee_command/bungee-dist.jar
|
||||||
|
cp /tmp/new/java/bungee_command/bungee-dist.jar ./java/bungee_command/
|
||||||
|
else
|
||||||
|
rm -rf java/bungee_command/*
|
||||||
|
cp -r /tmp/new/java/bungee_command/. ./java/bungee_command/
|
||||||
|
echo ensuring that bungeecord is hosting on the correct port...
|
||||||
|
sed -i 's/host: 0\.0\.0\.0:[0-9]\+/host: 0.0.0.0:1/' java/bungee_command/config.yml
|
||||||
|
fi
|
||||||
|
echo updating bukkit server...
|
||||||
|
if [ "$emergbukkit" = "true" ]; then
|
||||||
|
rm -rf java/bukkit_command/*
|
||||||
|
cp -r /tmp/new/java/bukkit_command/. ./java/bukkit_command/
|
||||||
|
else
|
||||||
|
rm -f java/bukkit_command/craftbukkit-1.5.2-R1.0.jar
|
||||||
|
cp /tmp/new/java/bukkit_command/craftbukkit-1.5.2-R1.0.jar ./java/bukkit_command/
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
echo removing update data...
|
||||||
|
rm -rf /tmp/new
|
||||||
|
echo deleting old directory if it exists for some reason...
|
||||||
|
rm -rf old
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "updated.yet" ]; then
|
||||||
|
touch updated.yet
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo starting bungeecord...
|
||||||
|
cd java/bungee_command
|
||||||
|
tmux new -d -s bungee java -Xmx32M -Xms32M -jar bungee-dist.jar
|
||||||
|
cd -
|
||||||
|
|
||||||
|
if [ "$setserver" = "true" -a "$syncweb" = "true" ]; then
|
||||||
|
echo restoring original index.html...
|
||||||
|
rm web/index.html
|
||||||
|
cp web/index.html.ORIG web/index.html
|
||||||
|
echo configuring local website...
|
||||||
|
sed -i 's/https:\/\/g\.eags\.us\/eaglercraft/https:\/\/gnome\.vercel\.app/' web/index.html
|
||||||
|
sed -i 's/alert/console.log/' web/index.html
|
||||||
|
echo setting default server...
|
||||||
|
sed -i "s/\"CgAACQAHc2VydmVycwoAAAABCAACaXAAIHdzKHMpOi8vIChhZGRyZXNzIGhlcmUpOihwb3J0KSAvCAAEbmFtZQAIdGVtcGxhdGUBAAtoaWRlQWRkcmVzcwEIAApmb3JjZWRNT1REABl0aGlzIGlzIG5vdCBhIHJlYWwgc2VydmVyAAA=\"/btoa(atob(\"CgAACQAHc2VydmVycwoAAAABCAAKZm9yY2VkTU9URABtb3RkaGVyZQEAC2hpZGVBZGRyZXNzAQgAAmlwAGlwaGVyZQgABG5hbWUAbmFtZWhlcmUAAA==\").replace(\"motdhere\",String.fromCharCode(\`$srvname\`.length)+\`$srvname\`).replace(\"namehere\",String.fromCharCode(\`$srvmotd\`.length)+\`$srvmotd\`).replace(\"iphere\",String.fromCharCode((\"ws\"+location.protocol.slice(4)+\"\/\/\"+location.host+\"\/server\").length)+(\"ws\"+location.protocol.slice(4)+\"\/\/\"+location.host+\"\/server\")))/" web/index.html
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo starting nginx...
|
||||||
|
mkdir /tmp/nginx
|
||||||
|
rm -rf nginx.conf
|
||||||
|
sed "s/eaglercraft-server/$REPL_SLUG/" nginx_template.conf > nginx.conf
|
||||||
|
nginx -c ~/$REPL_SLUG/nginx.conf -g 'daemon off; pid /tmp/nginx/nginx.pid;' -p /tmp/nginx -e /tmp/nginx/error.log > /tmp/nginx/output.log 2>&1 &
|
||||||
|
|
||||||
|
if [ -f "base.repl" ] && ! { [ "$REPL_OWNER" == "ayunami2000" ] && [ "$REPL_SLUG" == "eaglercraft-server" ]; };
|
||||||
|
then
|
||||||
|
echo resetting world and randomizing seed...
|
||||||
|
rm base.repl
|
||||||
|
rm -rf java/bukkit_command/world
|
||||||
|
rm -rf java/bukkit_command/world_nether
|
||||||
|
rm -rf java/bukkit_command/world_the_end
|
||||||
|
rm -f java/bukkit_command/server.log.lck
|
||||||
|
rm java/bukkit_command/server.log
|
||||||
|
rm -f java/bungee_command/proxy.log.0.lck
|
||||||
|
rm java/bungee_command/proxy.log.0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo starting bukkit...
|
||||||
|
cd java/bukkit_command
|
||||||
|
java -Xmx512M -Xms512M -jar craftbukkit-1.5.2-R1.0.jar
|
||||||
|
cd -
|
||||||
|
|
||||||
|
echo killing bungeecord and nginx...
|
||||||
|
nginx -s stop -c ~/$REPL_SLUG/nginx.conf -g 'daemon off; pid /tmp/nginx/nginx.pid;' -p /tmp/nginx -e /tmp/nginx/error.log
|
||||||
|
pkill java
|
||||||
|
pkill nginx
|
||||||
|
|
||||||
|
echo done!
|
||||||
@@ -0,0 +1,127 @@
|
|||||||
|
events {}
|
||||||
|
http {
|
||||||
|
types {
|
||||||
|
text/html html htm shtml php;
|
||||||
|
text/css css;
|
||||||
|
text/xml xml;
|
||||||
|
image/gif gif;
|
||||||
|
image/jpeg jpeg jpg;
|
||||||
|
application/javascript js;
|
||||||
|
application/atom+xml atom;
|
||||||
|
application/rss+xml rss;
|
||||||
|
|
||||||
|
text/mathml mml;
|
||||||
|
text/plain txt;
|
||||||
|
text/vnd.sun.j2me.app-descriptor jad;
|
||||||
|
text/vnd.wap.wml wml;
|
||||||
|
text/x-component htc;
|
||||||
|
|
||||||
|
image/png png;
|
||||||
|
image/tiff tif tiff;
|
||||||
|
image/vnd.wap.wbmp wbmp;
|
||||||
|
image/x-icon ico;
|
||||||
|
image/x-jng jng;
|
||||||
|
image/x-ms-bmp bmp;
|
||||||
|
image/svg+xml svg svgz;
|
||||||
|
image/webp webp;
|
||||||
|
|
||||||
|
font/woff woff;
|
||||||
|
font/woff2 woff2;
|
||||||
|
application/java-archive jar war ear;
|
||||||
|
application/json json;
|
||||||
|
application/mac-binhex40 hqx;
|
||||||
|
application/msword doc;
|
||||||
|
application/pdf pdf;
|
||||||
|
application/postscript ps eps ai;
|
||||||
|
application/rtf rtf;
|
||||||
|
application/vnd.apple.mpegurl m3u8;
|
||||||
|
application/vnd.ms-excel xls;
|
||||||
|
application/vnd.ms-fontobject eot;
|
||||||
|
application/vnd.ms-powerpoint ppt;
|
||||||
|
application/vnd.wap.wmlc wmlc;
|
||||||
|
application/vnd.google-earth.kml+xml kml;
|
||||||
|
application/vnd.google-earth.kmz kmz;
|
||||||
|
application/x-7z-compressed 7z;
|
||||||
|
application/x-cocoa cco;
|
||||||
|
application/x-java-archive-diff jardiff;
|
||||||
|
application/x-java-jnlp-file jnlp;
|
||||||
|
application/x-makeself run;
|
||||||
|
application/x-perl pl pm;
|
||||||
|
application/x-pilot prc pdb;
|
||||||
|
application/x-rar-compressed rar;
|
||||||
|
application/x-redhat-package-manager rpm;
|
||||||
|
application/x-sea sea;
|
||||||
|
application/x-shockwave-flash swf;
|
||||||
|
application/x-stuffit sit;
|
||||||
|
application/x-tcl tcl tk;
|
||||||
|
application/x-x509-ca-cert der pem crt;
|
||||||
|
application/x-xpinstall xpi;
|
||||||
|
application/xhtml+xml xhtml;
|
||||||
|
application/xspf+xml xspf;
|
||||||
|
application/zip zip;
|
||||||
|
application/x-tar tar;
|
||||||
|
application/octet-stream bin exe dll;
|
||||||
|
application/octet-stream deb;
|
||||||
|
application/octet-stream dmg;
|
||||||
|
application/octet-stream iso img;
|
||||||
|
application/octet-stream msi msp msm;
|
||||||
|
|
||||||
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx;
|
||||||
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx;
|
||||||
|
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx;
|
||||||
|
|
||||||
|
audio/midi mid midi kar;
|
||||||
|
audio/mpeg mp3;
|
||||||
|
audio/ogg ogg;
|
||||||
|
audio/x-m4a m4a;
|
||||||
|
audio/x-realaudio ra;
|
||||||
|
|
||||||
|
video/3gpp 3gpp 3gp;
|
||||||
|
video/mp2t ts;
|
||||||
|
video/mp4 mp4;
|
||||||
|
video/mpeg mpeg mpg;
|
||||||
|
video/quicktime mov;
|
||||||
|
video/webm webm;
|
||||||
|
video/x-flv flv;
|
||||||
|
video/x-m4v m4v;
|
||||||
|
video/x-mng mng;
|
||||||
|
video/x-ms-asf asx asf;
|
||||||
|
video/x-ms-wmv wmv;
|
||||||
|
video/x-msvideo avi;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 8080;
|
||||||
|
listen [::]:8080;
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
listen 8000;
|
||||||
|
listen [::]:8000;
|
||||||
|
listen 3000;
|
||||||
|
listen [::]:3000;
|
||||||
|
|
||||||
|
client_body_temp_path /tmp/nginx 1 2;
|
||||||
|
proxy_temp_path /tmp/nginx-proxy;
|
||||||
|
fastcgi_temp_path /tmp/nginx-fastcgi;
|
||||||
|
uwsgi_temp_path /tmp/nginx-uwsgi;
|
||||||
|
scgi_temp_path /tmp/nginx-scgi;
|
||||||
|
access_log /tmp/nginx/access.log;
|
||||||
|
error_log /tmp/nginx/error.log;
|
||||||
|
root /home/runner/eaglercraft-server/web;
|
||||||
|
|
||||||
|
location /server {
|
||||||
|
proxy_pass http://127.0.0.1:1/;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $http_x_forwarded_for;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
index index.html;
|
||||||
|
try_files $uri $uri/ =404;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,127 @@
|
|||||||
|
events {}
|
||||||
|
http {
|
||||||
|
types {
|
||||||
|
text/html html htm shtml php;
|
||||||
|
text/css css;
|
||||||
|
text/xml xml;
|
||||||
|
image/gif gif;
|
||||||
|
image/jpeg jpeg jpg;
|
||||||
|
application/javascript js;
|
||||||
|
application/atom+xml atom;
|
||||||
|
application/rss+xml rss;
|
||||||
|
|
||||||
|
text/mathml mml;
|
||||||
|
text/plain txt;
|
||||||
|
text/vnd.sun.j2me.app-descriptor jad;
|
||||||
|
text/vnd.wap.wml wml;
|
||||||
|
text/x-component htc;
|
||||||
|
|
||||||
|
image/png png;
|
||||||
|
image/tiff tif tiff;
|
||||||
|
image/vnd.wap.wbmp wbmp;
|
||||||
|
image/x-icon ico;
|
||||||
|
image/x-jng jng;
|
||||||
|
image/x-ms-bmp bmp;
|
||||||
|
image/svg+xml svg svgz;
|
||||||
|
image/webp webp;
|
||||||
|
|
||||||
|
font/woff woff;
|
||||||
|
font/woff2 woff2;
|
||||||
|
application/java-archive jar war ear;
|
||||||
|
application/json json;
|
||||||
|
application/mac-binhex40 hqx;
|
||||||
|
application/msword doc;
|
||||||
|
application/pdf pdf;
|
||||||
|
application/postscript ps eps ai;
|
||||||
|
application/rtf rtf;
|
||||||
|
application/vnd.apple.mpegurl m3u8;
|
||||||
|
application/vnd.ms-excel xls;
|
||||||
|
application/vnd.ms-fontobject eot;
|
||||||
|
application/vnd.ms-powerpoint ppt;
|
||||||
|
application/vnd.wap.wmlc wmlc;
|
||||||
|
application/vnd.google-earth.kml+xml kml;
|
||||||
|
application/vnd.google-earth.kmz kmz;
|
||||||
|
application/x-7z-compressed 7z;
|
||||||
|
application/x-cocoa cco;
|
||||||
|
application/x-java-archive-diff jardiff;
|
||||||
|
application/x-java-jnlp-file jnlp;
|
||||||
|
application/x-makeself run;
|
||||||
|
application/x-perl pl pm;
|
||||||
|
application/x-pilot prc pdb;
|
||||||
|
application/x-rar-compressed rar;
|
||||||
|
application/x-redhat-package-manager rpm;
|
||||||
|
application/x-sea sea;
|
||||||
|
application/x-shockwave-flash swf;
|
||||||
|
application/x-stuffit sit;
|
||||||
|
application/x-tcl tcl tk;
|
||||||
|
application/x-x509-ca-cert der pem crt;
|
||||||
|
application/x-xpinstall xpi;
|
||||||
|
application/xhtml+xml xhtml;
|
||||||
|
application/xspf+xml xspf;
|
||||||
|
application/zip zip;
|
||||||
|
application/x-tar tar;
|
||||||
|
application/octet-stream bin exe dll;
|
||||||
|
application/octet-stream deb;
|
||||||
|
application/octet-stream dmg;
|
||||||
|
application/octet-stream iso img;
|
||||||
|
application/octet-stream msi msp msm;
|
||||||
|
|
||||||
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx;
|
||||||
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx;
|
||||||
|
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx;
|
||||||
|
|
||||||
|
audio/midi mid midi kar;
|
||||||
|
audio/mpeg mp3;
|
||||||
|
audio/ogg ogg;
|
||||||
|
audio/x-m4a m4a;
|
||||||
|
audio/x-realaudio ra;
|
||||||
|
|
||||||
|
video/3gpp 3gpp 3gp;
|
||||||
|
video/mp2t ts;
|
||||||
|
video/mp4 mp4;
|
||||||
|
video/mpeg mpeg mpg;
|
||||||
|
video/quicktime mov;
|
||||||
|
video/webm webm;
|
||||||
|
video/x-flv flv;
|
||||||
|
video/x-m4v m4v;
|
||||||
|
video/x-mng mng;
|
||||||
|
video/x-ms-asf asx asf;
|
||||||
|
video/x-ms-wmv wmv;
|
||||||
|
video/x-msvideo avi;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 8080;
|
||||||
|
listen [::]:8080;
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
listen 8000;
|
||||||
|
listen [::]:8000;
|
||||||
|
listen 3000;
|
||||||
|
listen [::]:3000;
|
||||||
|
|
||||||
|
client_body_temp_path /tmp/nginx 1 2;
|
||||||
|
proxy_temp_path /tmp/nginx-proxy;
|
||||||
|
fastcgi_temp_path /tmp/nginx-fastcgi;
|
||||||
|
uwsgi_temp_path /tmp/nginx-uwsgi;
|
||||||
|
scgi_temp_path /tmp/nginx-scgi;
|
||||||
|
access_log /tmp/nginx/access.log;
|
||||||
|
error_log /tmp/nginx/error.log;
|
||||||
|
root /home/runner/eaglercraft-server/web;
|
||||||
|
|
||||||
|
location /server {
|
||||||
|
proxy_pass http://127.0.0.1:1/;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $http_x_forwarded_for;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
index index.html;
|
||||||
|
try_files $uri $uri/ =404;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{ pkgs }: {
|
||||||
|
deps = [
|
||||||
|
pkgs.bashInteractive
|
||||||
|
pkgs.graalvm8-ce
|
||||||
|
pkgs.unzip
|
||||||
|
pkgs.nginx
|
||||||
|
pkgs.busybox
|
||||||
|
pkgs.tmux
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user