浏览代码

添加 'default.conf'

sifu-gogs 2 年之前
父节点
当前提交
488bfe5930
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      default.conf

+ 15 - 0
default.conf

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