ccf před 4 roky
rodič
revize
5821a83e64
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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/ {