minecraft added

This commit is contained in:
Dmitry Anderson 2024-11-02 20:52:26 +01:00
parent 9f3f9391e3
commit 9bea83891a

View File

@ -73,7 +73,6 @@ frontend main
bind *:5000
acl url_static path_beg -i /static /images /javascript /stylesheets
acl url_static path_end -i .jpg .gif .png .css .js
use_backend static if url_static
frontend git-http
@ -88,6 +87,15 @@ frontend git-https
acl is_git hdr(host) -i git.mic.pp.ua
use_backend git_backend if is_git
frontend mc-gravit
bind *:80
mode http
option forwardfor
acl has_charset hdr_sub(content-type) -i charset=
rspirep (Content-Type.*) \1;\ charset=utf-8 unless has_charset
acl is_mc hdr(host) -i mc.mic.pp.ua
use_backend mc-gravit if is_mc
#---------------------------------------------------------------------
# static backend for serving up images, stylesheets and such
#---------------------------------------------------------------------
@ -103,5 +111,11 @@ backend git_backend
mode http
server git_instance1 127.0.0.1:3000 check
# NOTE: USES WEBSOCKETS
backend mc-gravit
balance roundrobin
mode http
server gravit 127.0.0.1:9274
backend letsencrypt-backend
server letsencrypt 127.0.0.1:8888