ccf 4 lat temu
rodzic
commit
5821a83e64
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      config/nginx/template/proginn.nginx.conf

+ 3 - 3
config/nginx/template/proginn.nginx.conf

@@ -330,14 +330,14 @@ server {
 
 
     location ^~ /frontend/ {
-        rewrite ^/learn(.*)$ https://{{domain}}.test.proginn.com/frontend/skill/list permanent;
         proxy_pass http://127.0.0.1:3000;
         proxy_set_header Host {{domain}}.test.proginn.com;
     }
 
     location ^~ /learn {
-        rewrite  ^(.*)$  /frontend/skill/list  permanent;
-        break;
+        rewrite  ^(.*)$  $1  last;
+        proxy_pass http://127.0.0.1:3000;
+        proxy_set_header Host {{domain}}.test.proginn.com;
     }
 
     location ^~ /ccf/ {