ccf 4 年 前
コミット
4da3e0b213
1 ファイル変更10 行追加0 行削除
  1. 10 0
      config/nginx/template/proginn.nginx.conf

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

@@ -207,6 +207,16 @@ server {
         proxy_set_header Host {{domain}}.test.proginn.com;
     }
 
+    location ^~ /learn {
+        proxy_pass http://127.0.0.1:3000;
+        proxy_set_header Host {{domain}}.test.proginn.com;
+    }
+
+    location ^~ /l/ {
+        proxy_pass http://127.0.0.1:3000;
+        proxy_set_header Host {{domain}}.test.proginn.com;
+    }
+
     location / {
         if (!-e $request_filename) {
             rewrite  ^(.*)$  /index.php?s=$1  last;