Browse Source

fix: proxy for authentication

Bryan Lee 1 year ago
parent
commit
2f08290f07
1 changed files with 10 additions and 0 deletions
  1. 10 0
      nginx/templates/authentication.nginx

+ 10 - 0
nginx/templates/authentication.nginx

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