|
@@ -187,6 +187,10 @@ server {
|
|
|
proxy_set_header Host {{domain}}.test.proginn.com;
|
|
proxy_set_header Host {{domain}}.test.proginn.com;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ location /learn {
|
|
|
|
|
+ rewrite ^/learn(.*)$ https://{{domain}}.test.proginn.com$1 permanent;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
location ^~ /works {
|
|
location ^~ /works {
|
|
|
proxy_pass http://127.0.0.1:3000;
|
|
proxy_pass http://127.0.0.1:3000;
|
|
|
proxy_set_header Host {{domain}}.test.proginn.com;
|
|
proxy_set_header Host {{domain}}.test.proginn.com;
|