ccf před 4 roky
rodič
revize
e90041e070
2 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. 1 0
      command/Start.php
  2. 5 0
      config/nginx/template/proginn.nginx.conf

+ 1 - 0
command/Start.php

@@ -100,6 +100,7 @@ class Start
             $this->getConnection()->query('commit');
         } catch (\Throwable $e) {
             echo "exception:" . $e->__toString() . "\n";
+            $this->getConnection()->query('rollback');
         }
     }
 

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

@@ -325,6 +325,11 @@ server {
         proxy_set_header Host {{domain}}.test.proginn.com;
     }
 
+    location ^~ /ccf/ {
+        proxy_pass http://127.0.0.1:3000;
+        proxy_set_header Host {{domain}}.test.proginn.com;
+    }
+
     location ^~ /otherpage {
         proxy_pass http://127.0.0.1:3000;
         proxy_set_header Host {{domain}}.test.proginn.com;