dever 6 years ago
parent
commit
7144cc2369

+ 1 - 0
container/conf/db/mariadb/my.conf

@@ -26,6 +26,7 @@ socket          = /run/mysqld/mysqld.sock
                                                                            
 # The MariaDB server                                                       
 [mysqld] 
+sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
 skip-name-resolve
 skip-host-cache
 user=root                 

+ 1 - 0
container/conf/db/mysql/mysql.conf.d/mysqld.cnf

@@ -28,3 +28,4 @@ datadir		= /var/lib/mysql
 #bind-address	= 127.0.0.1
 # Disabling symbolic-links is recommended to prevent assorted security risks
 symbolic-links=0
+sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

+ 1 - 2
container/conf/web/nginx/conf.d/site.conf

@@ -28,8 +28,7 @@ server {
         # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
 
         # With php-cgi alone:
-        #fastcgi_pass web-php7:9000;
-        fastcgi_pass onepage-php5:9000;
+        fastcgi_pass web-php7:9000;
         # With php-fpm:
         #fastcgi_pass unix:/var/run/php7-fpm.sock;
         fastcgi_index index.php;