Any reason not to use nginx (free) to load the balance of Exchange 2019?

I have prototype load balancing on my Exchange 2019 mailbox servers (2 servers in one DAG) using the free nginx edition using streaming capability. I am aware that this is only a Layer 4 solution and therefore does not terminate the connection or perform any traffic inspection. I agree with this limitation. However, some colleagues have advised against the use of nginx, but have no reason to offer that it is not "free nginx does not work with Exchange" (which is at least somewhat bogus). Will I have problems in the future? Should i use haproxy or Kemp LoadBalancer? My main priority is stability / reliability. Well I guess my top priority is price (I have little or no budget for this).

How to terminate SSL on load balancer (Apache)

I would like to know how to terminate SSL on the load balancer using Apache. So I'd like to know how to create a secondary SSL connection to the backend web cluster?

This is what I have, but I get redirect loops.

  Redirect 301 /


      BalancerMember http://IP_ADDR_1
      BalancerMember http://IP_ADDR_2

   ProxyPreserveHost On
   ProxyPass / balancer://web_farm:443/
   ProxyPassReverse / balancer://web_farm:443/

8 – How do I load a media entity from an archive entity?

For example, if you File the entity is loaded into a variable called $fileand the field name in Media entity is field_media_image, and the File object only belongs to a single Media entity, you can do the following:

$media_entities = Drupal::entityTypeManager()->getStorage('media')->loadByProperties((
  'field_media_image' => $file->id(),

$media_entity = is_array($media_entities) ? array_pop($media_entities) : NULL;

$media_entity will contain the Media entity the File the entity belongs or is NULL

penetration test: PostgreSQL exploit does not load in MSFConsole from ExploitDB

I'm just trying to get a postgreSQL exploit (32847.txt – Low cost function) from exploitdb to run it in msfconsole. After pulling my hair out trying to figure out why it doesn't load, here I am. I am using Kali Linux, Debian 64 bit on Virtual Box, Windows Host.

So far, this is what I have done:

I downloaded the appropriate exploit from exploitdb, put .txt in a folder I made, … /. Msf4 / modules / exploits / PostgreSQL. I run ls on the command line, it's there. Public notary.

Re-run terminal, updated db via -updatedb

I started msfconsole, and it didn't load the exploit in msfdb (I can't access it through "use exploit ….". I tried to update the db, I tried to copy / paste the exploit directly through GUI in the exploits folder, as well as through the command line.

My error is "Error loading module: exploit / PostgreSQL / 32847.txt"

Am I placing the exploit in the wrong folder or?

Please help!

8 – How to load block content through ajax callback?


  path: '/my_module/path'
    _controller: 'Drupalmy_moduleControllerPageController::content'
    _permission: 'access content'


 namespace Drupalmy_moduleController;

    use DrupalCoreControllerControllerBase;

    class PageController extends ControllerBase {

      public function content() {
        return (
          '#theme' => 'output_page',
          '#vars' => $this->t('Test Value'),



{{ drupal_block('hello_block') }}

src / Plugin / Block /

namespace Drupalhello_worldPluginBlock;

use DrupalCoreBlockBlockBase;

 * Provides a 'Hello' Block.
 * @Block(
 *   id = "hello_block",
 *   admin_label = @Translation("Hello block"),
 *   category = @Translation("Hello World"),
 * )
class HelloBlock extends BlockBase {

   * {@inheritdoc}
  public function build() {

public function get_dynamic_content(){
  return (
      '#markup' => $this->t('This is dynamic Id'), //print dynamic ID here



 $(".class").click(function () {

        url: 'my_module/path',
        type: 'POST',
        dataType: 'json',
        data: {id: Id}
      }).done(function (result) {



How should I pass the dynamic argument to a Jquery Ajax block?
I am directly rendering the block output on the twig using (Twig Tweak module)

boot – Ubuntu 18.04 Invalid signature / I need to load the kernel first

I have an older ASUS machine that I installed Ubuntu on, I originally installed Ubuntu 14.04 (it was just the flashed USB I had), but I went through the entire update process to update to 16.04, then 18.04. I feel like I made all the updates through the Software Manager, but it's been a few months since I did it and I can't completely remember.

After that I did things like:

sudo apt-get autoremove
sudo apt-get autoclean

When I restarted the computer, I received a kernel boot error

error: /boot/vmlinuz-5.3.0-7629-generic has invalid signature
error: you need to load the kernel first

I've been reading around a bit and I think disabling secure boot can fix this, but I would appreciate any other ideas / insights.

Thanks in advance

javascript – ajax function does not load select

I have this method to load cities:

 public IActionResult OnGetBuscaCidades(string estado)
        var cidade = _context.Pessoas.Where(a => a.Uf == estado).GroupBy(b => new { b.Cidade })
            .Select(y => new { Id = y.Key.Cidade, Value = y.Key.Cidade })


        return new JsonResult(cidade);

Here is the function ajax

$("#Uf").on("change", function () {
var estado = $("#Uf option:selected").val();
    type: "GET",
    url: "/Relatorios/Cadastros?handler=BuscaCidades",
    beforeSend: function (xhr) {
    contentType: "application/json; charset=utf-8",
    data: { estado: estado },
    dataType: 'json',
    success: function (dados) {
        if (dados !== null) {
            var selectbox = $("Cidade");


But it does not charge, and it does not enter here. $.each(dados.cidade, function (i, d) {
This is mine html:


In OnGetBuscaCidades it returns correctly, but it just doesn't load the selection, it's blank.

Mavericks: Unable to load plist. Launchctl says "Invalid property list", tried plutil, SIP, permissions

I want to use the following list to run a backup script on macos High Sierra.

File name:



Permissions: -rw-r--r--@ 1 root wheel 694 3 Apr 19:57 com.pollux.backup.plist

I use the same script and plist to back up my wife's MacBook (Mavericks). It works perfectly. But when I try to load it with launchctl on my MacBook, I get the following error message:

/Library/LaunchDaemons/com.pollux.backup.plist: Invalid property list

I checked the plist with plutil:

LaunchDaemons pollux$ plutil com.pollux.backup.plist
com.pollux.backup.plist: OK

xmllint only displays the content of the plist.

I turned off the SIP:

LaunchDaemons pollux$ csrutil status
System Integrity Protection status: disabled.

Does anyone have an idea of ​​what to try next?

Load Balancing: Azure Virtual Machine Scaling Set and .NET Core Application

I am experimenting with Azure virtual machine scale sets to achieve load balancing of the .NET Core application.

Setting up the actual scale set seems easy.

Now it comes with the second part: publishing the actual .NET application on that set of scales. Maybe it's obvious, but I can't find any documentation.

The question is, how do you publish the main .NET application to the virtual machine scale set?

8 – Hide the elements of the view in the first load, show them by clicking on the filter and restart them again through the general data filter

  • Edit
    As my first question, I made some mistakes, so I try to keep it clearer and more useful to other people.

I built a view that shows nodes and context filters to have attached taxonomy entities. I integrated it with isotope so that the filters are placed in the taxonomy attachment view (as link) which filters the nodes as elements of the containers.
Also, I want to display the taxonomy descriptions (shown as complete entities) when the corresponding taxonomy filter is clicked. The taxonomy description will appear when you click the link for the taxonomy filter and related nodes will be filtered.
When I click on the text of the general data filter (*), I hope to hide the entire description of the taxonomy again.

I was able to find a way in an HTML demo and I'm trying to reproduce it in drupal8, but this doesn't seem to work, so I need help.

What I did:
Assign a class to the general data filter (*), named "clear-filter", and a class to other "filter-show" filters for JavaScript selectors.
I assigned two classes to the items I need to hide (the taxonomy descriptions) called "categories" and "items to hide". I also created a "display elements" class that will replace the "hide elements" when a filter is clicked and the custom JavaScript code is executed.

Here is the HTML code for the filters (simplified for the question):

Then the code for the default hidden elements (or page load):

  • -the content of the view IE: rendered taxonomy entity-
  • -the content of the view IE: rendered taxonomy entity-
  • -the content of the view IE: rendered taxonomy entity-
  • -the content of the view IE: rendered node entity-
  • -the content of the view IE: rendered node entity-
  • -the content of the view IE: rendered node entity-

And here is my simple custom JS code:

  $(".filters-show a").click(function(){

jQuery(document).ready(function($) {
    $(".clear-filters").click(function () {

The first part of the code is working, if you click on a filter in my view it shows the description of the taxonomy and related nodes. But if I click on the link "All" (filter with data attribute = *), the class "elements to hide" is no longer added.
Note that I wrote the CSS lines to make the "elements to hide" override the "elements to show", so this is not a CSS problem.

In an earlier version of the script, I also removed the "items-to-show" class, which seems to work in HTML but not in live drupal, i.e .:


I tried to split the code into two JS library declarations but without success: the second JS will not load at all, this seems strange to me.

I hope my question improves better, any help is appreciated.
Thank you!