Explorar el Código

add nginx config

lushuncheng hace 5 años
padre
commit
8425ca4a77
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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;