This file contains 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
# Muestro las URL que se envian al backend | |
varnishtop -i BereqURL | |
# Muestro los host de peticiones al back | |
varnishtop -b -I BeReqHeader:Host | |
# Muestro todas URL peticionadas | |
varnishtop -i requrl | |
# Mostrar peticiones metodo |
This file contains 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 | |
/** | |
* Plugin Name: WooCommerce Auto Restore Stock | |
* Plugin URI: http://gerhardpotgieter.com/tag/woocommerce-auto-restore-stock | |
* Description: Auto restore stock when orders are cancelled | |
* Version: 1.0.1 | |
* Author: Gerhard Potgieter | |
* Author URI: http://gerhardpotgieter.cim | |
* License: GPL2 | |
*/ |
This file contains 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
sub vcl_deliver { | |
if (req.url ~ "/fonts/") { | |
set resp.http.Access-Control-Allow-Origin = "*"; | |
set resp.http.Access-Control-Allow-Methods = "GET, OPTIONS"; | |
set resp.http.Access-Control-Allow-Headers = "Origin, Accept, Content-Type, X-Requested-With, X-CSRF-Token"; | |
} | |
} |