浏览代码

课程添加

ccf 4 年之前
父节点
当前提交
32cafc6db8
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      config/nginx/template/proginn.nginx.conf

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

@@ -205,6 +205,13 @@ server {
         proxy_set_header X-Request-Id $temp_request_id;
     }
 
+
+    location ~ ^/l/ {
+        proxy_pass http://127.0.0.1:3000;
+        proxy_set_header Host $host;
+        proxy_set_header X-Request-Id $temp_request_id;
+    }
+
     location ^~ /skill {
         proxy_pass http://127.0.0.1:3000;
         proxy_set_header Host {{domain}}.test.proginn.com;