diff --git a/acquia_purge.module b/acquia_purge.module
index 57c2da2..6a5f892 100644
--- a/acquia_purge.module
+++ b/acquia_purge.module
@@ -386,29 +386,34 @@ function acquia_purge_purge_path($path, $domains = NULL) {
     $headers = array("Accept-Encoding: gzip", "X-Acquia-Purge:$site_name");
 
     // Construct the URI to be purged and prevent theoretical double slashes.
-    $uri = $domain . $base_path . $path;
-    $uri = 'http://' . str_replace('//', '/', $uri);
-
-    // Configure the curl resource.
-    $curl = curl_init();
-    curl_setopt($curl, CURLOPT_URL, $uri);
-    curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
-    curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'PURGE');
-    curl_setopt($curl, CURLOPT_FAILONERROR, TRUE);
-
-    // Execute the PURGE header and add up to the results.
-    $results[] = curl_exec($curl);
-
-    // Close the curl session.
-    curl_close($curl);
-
-    // To be certain we also clear any records from the cache_page bin.
-    cache_clear_all($uri, 'cache_page');
-
-    // Notify the user if he requested this.
-    if (variable_get('acquia_purge_reportpurges', TRUE)
-      && user_access('purge notification')) {
-      drupal_set_message(t("Purged from Varnish: <b>@uri</b>", array('@uri' => $uri)), 'info');
+    $base_uri = $domain . $base_path . $path;
+    $http_uri = 'http://' . str_replace('//', '/', $base_uri);
+    $https_uri = 'https://' . str_replace('//', '/', $base_uri);
+
+    $uris = array($http_uri, $https_uri);
+
+    foreach ($uris as $uri) {
+      // Configure the curl resource.
+      $curl = curl_init();
+      curl_setopt($curl, CURLOPT_URL, $uri);
+      curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
+      curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'PURGE');
+      curl_setopt($curl, CURLOPT_FAILONERROR, TRUE);
+  
+      // Execute the PURGE header and add up to the results.
+      $results[] = curl_exec($curl);
+
+      // Close the curl session.
+      curl_close($curl);
+
+      // To be certain we also clear any records from the cache_page bin.
+      cache_clear_all($uri, 'cache_page');
+
+      // Notify the user if he requested this.
+      if (variable_get('acquia_purge_reportpurges', TRUE)
+        && user_access('purge notification')) {
+        drupal_set_message(t("Purged from Varnish: <b>@uri</b>", array('@uri' => $uri)), 'info');
+      }
     }
   }
 
