Browse Source

chore: update nginx templates

Bryan Lee 1 year ago
parent
commit
e167a4a26c

+ 0 - 10
nginx/templates/authentication.nginx

@@ -1,10 +0,0 @@
-server {
-        # Forward requests for the authentication server.
-        listen [::]:8000;
-        listen 8000;
-        server_name {domain};
-
-        location / {
-                proxy_pass              http://127.0.0.1:18000;
-        }
-}

+ 0 - 0
nginx/templates/game_server.nginx → nginx/templates/game_servers.nginx


+ 12 - 0
nginx/templates/services.nginx

@@ -0,0 +1,12 @@
+server {
+        # Forward requests.
+        listen [::]:8000;
+        listen 8000;
+        listen [::]:8100;
+        listen 8100;
+        server_name {domain};
+
+        location / {
+                proxy_pass              http://127.0.0.1:1$server_port;
+        }
+}