浏览代码

add nginx config

lushuncheng 5 年之前
父节点
当前提交
8425ca4a77
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      config/nginx/template/proginn.nginx.conf

+ 5 - 0
config/nginx/template/proginn.nginx.conf

@@ -221,6 +221,11 @@ server {
         proxy_pass http://127.0.0.1:3000;
         proxy_set_header Host {{domain}}.test.proginn.com;
     }
+    location ^~ /user/collection {
+        proxy_pass http://127.0.0.1:3000;
+        proxy_set_header Host {{domain}}.test.proginn.com;
+    }
+
 
     location ^~ /upload_image {
         proxy_pass http://127.0.0.1;