Pārlūkot izejas kodu

添加 'default.conf'

sifu-gogs 2 gadi atpakaļ
vecāks
revīzija
7f60aa3f28
1 mainītis faili ar 15 papildinājumiem un 0 dzēšanām
  1. 15 0
      default.conf

+ 15 - 0
default.conf

@@ -0,0 +1,15 @@
+server {
+    #blue
+    listen       8682;
+    server_name  localhost;
+
+    location / {
+        root   html;
+        index  index.html index.htm;
+    }
+    
+    location ~ /prod-api/ {           
+        proxy_pass http://localhost:8181;
+    }
+    
+}