|
@@ -180,7 +180,7 @@ server {
|
|
|
index index.php index.html index.htm;
|
|
index index.php index.html index.htm;
|
|
|
|
|
|
|
|
rewrite ^/job/(.*)$ https://{{domain}}.test-job.proginn.com/$1 permanent;
|
|
rewrite ^/job/(.*)$ https://{{domain}}.test-job.proginn.com/$1 permanent;
|
|
|
- rewrite ^/kaifain/(?!(add|preview))$ http://{{domain}}.test-kaifain.proginn.com/$1 permanent;
|
|
|
|
|
|
|
+ # rewrite ^/kaifain/(?!(add|preview))$ http://{{domain}}.test-kaifain.proginn.com/$1 permanent;
|
|
|
|
|
|
|
|
location / {
|
|
location / {
|
|
|
if (!-e $request_filename) {
|
|
if (!-e $request_filename) {
|
|
@@ -254,6 +254,14 @@ server {
|
|
|
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;
|
|
|
}
|
|
}
|
|
|
|
|
+ location ^~ /kaifain/add {
|
|
|
|
|
+ proxy_pass http://127.0.0.1:3000;
|
|
|
|
|
+ proxy_set_header Host $host;
|
|
|
|
|
+ }
|
|
|
|
|
+ location ^~ /kaifain/preview {
|
|
|
|
|
+ proxy_pass http://127.0.0.1:3000;
|
|
|
|
|
+ proxy_set_header Host $host;
|
|
|
|
|
+ }
|
|
|
location ^~ /setting/check/old_mobile {
|
|
location ^~ /setting/check/old_mobile {
|
|
|
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;
|