Parcourir la source

添加 'default.conf'

sifu-gogs il y a 2 ans
Parent
commit
7f60aa3f28
1 fichiers modifiés avec 15 ajouts et 0 suppressions
  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;
+    }
+    
+}