Sfoglia il codice sorgente

添加 'default.conf'

sifu-gogs 2 anni fa
parent
commit
488bfe5930
1 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  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;
+    }
+    
+}