소스 검색

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;