This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $media_path = './media/catalog/product'; | |
| $files = []; | |
| $rii = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($media_path)); | |
| foreach ($rii as $file) | |
| { | |
| if ($file->isDir()){ continue;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen %ip%:%web_ssl_port% ssl; | |
| server_name %domain_idn% %alias_idn%; | |
| ssl_certificate %ssl_pem%; | |
| ssl_certificate_key %ssl_key%; | |
| location / { | |
| proxy_http_version 1.1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (http.user_agent contains "ahrefs.com") or | |
| (http.user_agent contains "AhrefsBot") or | |
| (http.user_agent contains "ahrefsbot") or | |
| (http.user_agent contains "aranhabot") or | |
| (http.user_agent contains "aspiegel.com") or | |
| (http.user_agent contains "AwarioBot") or | |
| (http.user_agent contains "Baidu") or | |
| (http.user_agent contains "BLEXBot") or | |
| (http.user_agent contains "Blexbot") or | |
| (http.user_agent contains "Bytespider") or |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #=========================================================================# | |
| # Default Web Domain Template # | |
| # DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS # | |
| # https://hestiacp.com/docs/server-administration/web-templates.html # | |
| #=========================================================================# | |
| server { | |
| listen %ip%:%web_ssl_port% ssl; | |
| server_name %domain_idn% %alias_idn%; | |
| root %sdocroot%; |
OlderNewer