Latest Server related questions

Score: 0
TravelWhere avatar
How to not redirect if images are located in specific subdirectory with nginx?
cn flag

I current;y have configured to redirect if a user tries to direct access images by browser for all images but I don't want them redirected if the images are located in a specific subdirectory which is /static/favicon/

    location ~* ^/(?<filenum>.*)\.(jpeg|jpg|png|webp)$ {
    proxy_pass http://xxx.xxx.xxx.xxx:7492;
    valid_referers example.com;
    if ($invalid_referer = "1") {
    add_header Ca ...
Score: 0
MrLufus avatar
WordPress Multisite - Change Main Site from no-www to www
gb flag

I've started issuing automated wildcard SSL-Certificates over the acme-dns-client. While having an easy way to cover all of my subdomains together, I'm having the issue to not have, any coverage for my no-www domain.

Therefore I thought it could be an good idea, to just change the no-www Mainsite to www.example.net instead of example.net


Does anyone has suggestions how to change these settings, b ...

Score: 0
marc avatar
Distribute IPs from DHCP server in host network to docker containers
cn flag

I am running several services in docker containers for my homelab, and I need them to be accessible from their own distinct IPs. My host system is running debian "bullseye".

From the docker documentation, it seems natural to use a macvlan network in bridge mode, and the default way is working correctly for me.

However, I try to use a minimum of manual IPs in my network, and instead try to have my ...

Score: 0
samtech avatar
Encrypt SVN issue
us flag

could anyone advise how to encrypt SVN , Plan to encrypt or disable the SVN from asking if unencrypted passwords should be stored? We never want a user to be able to do that.

Would encrypting the users' home directory to protect the passwords as well as the data work? If so, how to do that? what is the best approach here?

I was thinking of encrypting the password files and add these encrypted files ...

Score: 0
nginx 301 redirect only regex matched url
cn flag

I need to permanent redirect only urls where the first 3 chars are NOT numbers

example url to redirect

/category/televisione/

/chi-e-alvin-eta-vita-privata-moglie-e-carriera-in-tv/

example url don't redirect

/25169zair43f0aka32c3d

/354zergve4sezsry34a32c3d

i tried this but not working

        location ~ "^/[a-zA-Z]{3}" {
                rewrite ^ https://www.antoherdomain.com$request_uri? permanent ...
Score: 3
ARP keeps getting old/wrong MAC address for gateway
cl flag

We have implemented a new firewall.

My clients (Windows 10/11) and servers (Windows Server 2012R2) are randomly disconnecting from internet.

If I do an arp -d, then my gateway (10.0.0.1) MAC is ac-xx-xx-xx-xx-81 and I can't access the internet - I get a Reply from 10.0.0.1: Destination net unreachable..

After like 10 seconds I get internet back and everyting works perfectly. If I do a "arp -a" and now m ...

Score: 0
be MrZulf avatar
How do I forward all invalid incoming mails in exim
ph flag

I have to all my invalid incoming to new addresss I have a route like this.

virtual_aliases:
    driver = redirect
    allow_defer
    allow_fail
    domains = lsearch;/etc/userdomains
    user = "${lookup \
        {$domain} \
        lsearch{/etc/userdomains} \
        {$value} \
    }"
    group = "${lookup \
        {$domain} \
        lsearch{/etc/userdomains} \
        {$value} \
    }"
    addres ...
Score: 0
eagr avatar
openvpn communication during renegotiation
cn flag

I'm using openvpn setup where I implement custom authentication on the server with a auth-user-pass-verify script. This script accesses a remote server so the process usually takes 10-40 seconds. Additionally I have reneg-sec configured to renegotiate every 30 minutes.

The problem is that every time the renegotiation starts, the client connection is not working until the reneg ends. It makes a lot of ...

Score: 0
Google firewall being saturated and not allowing valid requests through
in flag

We've configured some Firewall rules to block some bad ips. This has been done in the VPC Network -> Firewall area. This is NOT done on the server via IPTables or anything.

Everything is fine until we have floods of traffic from these bad ips. I can see in the firewall log for this rule it was blocking them, but there is either a connection limit or bandwidth limit. For 40 minutes I have a sol ...

Score: 0
ITnewbie avatar
MySQL Replication Master => Slave => Master
cn flag

I have set up MySQL master-slave replication successfully. But I realized it doesn't work if I would like to simulate the real-world case. Here is my scenario:

  1. Make sure the data have been fully replicated to Salve from Master.
  2. Shutdown the Master node.
  3. Insert some new data(say test-data) into the table in Slave.

Now the master is back to normal. I would like to sync up the test-data back to Mast ...

Score: 2
Remote Desktop stuck at Loading Virtual Machine
lu flag

We have a Terminal Services environment with following configuration

Server A - RD Gateway + Connection Broker Server 1 to 20 - RD Session Host

We have 7 collections and session hosts servers are assigned to different collections based on application version we require. All servers are running Windows Server 2016 Standard. We have wildcard certificates installed on Server A for all services.

Our enviro ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.