My server worked with these changes: CODE: SELECT ALL # nano /etc/sysctl.d/disable_ipv6.conf Paste this: CODE: SELECT ALL net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 CODE: SELECT ALL # nano /usr/lib/systemd/system/nginx.service Find: CODE: SELECT ALL PIDFile=/var/run/nginx.pid Replace with: CODE: SELECT ALL PIDFile=/run/nginx.pid CODE: SELECT ALL # nano /etc/nginx/nginx.conf …
OAuth2 đã trở nên rất phổ biến, vậy OAuth2 là gì, cách áp dụng như thế nào và bạn liệu rằng đã áp dụng OAuth2 đúng chưa. Trong bài này, mình sẽ chia sẻ với mọi người về OAuth2, cách …
HTTP Request Khi xây dựng API, chúng ta cần tìm hiểu qua về HTTP request. Có tổng cộng 9 loại method , 2 loại được sử dụng phổ biến nhất là GET và POST GET: được sử dụng để lấy …
Per session per user! add_filter( ‘authenticate’,’one_session_per_user’, 30, 3 ); function one_session_per_user( $user, $username, $password ) { $sessions = WP_Session_Tokens::get_instance( $user->ID ); $all_sessions = $sessions->get_all(); if ( count($all_sessions) ) { $user = new WP_Error(‘already_signed_in’, __(‘<strong>ERROR</strong>: User already logged in.’)); } return …
MySQL Server Hardware and OS Tuning: 1. Have enough physical memory to load your entire InnoDB file into memory – InnoDB is much faster when the file can be accessed in memory rather than from disk. 2. Avoid Swap at …
Solution 1: xx.xx.xx.xx — old private IP yy.yy.yy.yy — new private IP 1) run instruction from first post 2) grep -r “xx.xx.xx.xx” /etc/ grep -r “xx.xx.xx.xx” /home/ grep -r “xx.xx.xx.xx” /usr/local/ and replace all “xx.xx.xx.xx”/”xx-xx-xx-xx” on “yy.yy.yy.yy”/”yy-yy-yy-yy” Replace all with …
ou want to make your site faster ? maybe it is then an idea to optimize and compress png or jpg images via your SSH Terminal. If you got a lots of images you can save many of bytes by …
https://www.ls.graphics/ui-ux-tools https://www.ls.graphics/meshgradients
https://ourcodeworld.com/articles/read/349/how-to-install-and-enable-the-imagick-extension-in-xampp-for-windows