Przeglądaj źródła

添加 'default.conf'

sifu-gogs 2 lat temu
rodzic
commit
7f60aa3f28
1 zmienionych plików z 15 dodań i 0 usunięć
  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;
+    }
+    
+}