diff --git a/sites/default.conf b/http/default.conf similarity index 100% rename from sites/default.conf rename to http/default.conf diff --git a/sites/gitea.conf b/http/gitea.conf similarity index 100% rename from sites/gitea.conf rename to http/gitea.conf diff --git a/sites/homepage.conf b/http/homepage.conf similarity index 100% rename from sites/homepage.conf rename to http/homepage.conf diff --git a/sites/ldap.conf b/http/ldap.conf similarity index 100% rename from sites/ldap.conf rename to http/ldap.conf diff --git a/sites/mail.conf b/http/mail.conf similarity index 100% rename from sites/mail.conf rename to http/mail.conf diff --git a/sites/opns.conf b/http/opns.conf similarity index 100% rename from sites/opns.conf rename to http/opns.conf diff --git a/sites/paas.conf b/http/paas.conf similarity index 100% rename from sites/paas.conf rename to http/paas.conf diff --git a/sites/pve.conf b/http/pve.conf similarity index 100% rename from sites/pve.conf rename to http/pve.conf diff --git a/sites/redirect.conf b/http/redirect.conf similarity index 100% rename from sites/redirect.conf rename to http/redirect.conf diff --git a/sites/root.conf b/http/root.conf similarity index 100% rename from sites/root.conf rename to http/root.conf diff --git a/sites/status.conf b/http/status.conf similarity index 100% rename from sites/status.conf rename to http/status.conf diff --git a/sites/wiki.conf b/http/wiki.conf similarity index 100% rename from sites/wiki.conf rename to http/wiki.conf diff --git a/nginx.conf b/nginx.conf index 26a11b4..75aac7b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -33,6 +33,14 @@ http { # proxy parameters include proxy-params.conf; - # include sites - include sites/*; + # include http + include http/*.conf; } +stream { + # logging + access_log access.log; + error_log error.log; + + # include stream + include stream/*.conf; +} \ No newline at end of file diff --git a/stream/minecraft.conf b/stream/minecraft.conf new file mode 100644 index 0000000..3c3aa81 --- /dev/null +++ b/stream/minecraft.conf @@ -0,0 +1,5 @@ +server { + listen 25565 reuseport; + proxy_timeout 30s; + proxy_pass minecraft.root; +} \ No newline at end of file