Latest Server related questions

Score: 0
Itzik.B avatar
Nginx proxy_pass is not passing customized header into the server
in flag

I have Nginx installed on my machine and serve 2 domains.

  1. https://example.com/ -> Frontend.
  2. https://api.example.com/ -> Backend.

I'm communicating backend application through the frontend, But it's seem to be that the backend application does not receive any header from the Nginx.

This is my Nginx.conf:

user  nginx;
worker_processes  auto;

error_log  /var/log/nginx/error.log;

events {} # e ...
Score: 0
Is devicemapper linear not just passthrough?
ma flag

I'm trying to follow the script in https://jvns.ca/blog/2021/01/27/day-47--using-device-mapper-to-manage-firecracker-images/?hmsr=joyk.com&utm_source=joyk.com&utm_medium=referral but getting an error. To diagnose my understanding of devicemapper, I tried to construct a plain passthrough, but it's not working.

BASEIMAGE=hello-rootfs.ext4
LOOP=$(sudo losetup --find --show --read-only $BASEIMAGE ...
Score: 0
carlbasabe avatar
Redirect all access on IP address to domain name need to click proceed to redirect
be flag

I have this config in my apache:

<VirtualHost *:80>

    ServerName default

    <Location />
        Redirect / https://domain.name
    </Location>
</VirtualHost>

<VirtualHost *:443>

     ServerName default
     SSLEngine On
     SSLCertificateFile fullchain.pem
     SSLCertificateKeyFile privkey.pem
     SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire

    ...
Score: 0
Accessing Azure File Share from Windows Web App
in flag

I have a Windows Azure Web App that uploads files to a directory called 'CallRecordings' in the website root.

I wish to use a virtual directory pointing to an Azure file share. I have mounted the file share from the Azure portal and it appears at D:\mounts\callrecordings.

My question is how do I map this to a virtual directory so that the App cab use it? The portal only allows \sites mappings.

My test  ...

Score: 0
Would SCCM require a second SubCA when using HTTPS with 2 domains?
in flag

I have a domain called one.local. It already has it's own Windows Root CA and SubCA.

There is a second domain called two.local that is using SSCM. The team that is managing two.local wants to manage select machines located on one.local using SCCM. Two.local has it's own Root CA and SubCA. The two.local team is requesting I build a new SubCA on one.local so that they can manage the machines with S ...

Score: 0
getting 412 precondition failed with ngx_cache_purge when trying to purge cache
lu flag

I am new to this and just started using nginx for my pet projects. now i would like to install and use ngx_cache_purge module from https://github.com/nginx-modules/ngx_cache_purge, since it has some cool integrations with wordpress.

here is the docker image i came up with:

FROM nginx:1.18.0

RUN apt update && apt install -y --no-install-recommends  --no-install-suggests \
            wget gcc ma ...
Score: 0
One user unable to connect to non-domain joined computers
vn flag

On Wednesday, I lost RDP access to all non-domain-joined computers (Windows OS) from my Windows 11 laptop at work. It only affects my local user profile. I can sign in with a different domain account on my laptop and the RDCs work. I can also connect to those computers from another laptop logged in with my credentials.

Before I delete my local profile, is there anything I could check? I've been t ...

Score: 0
mr.zog avatar
kubeadm init fails when it can't find runc
at flag

I installed containerd and runc to /opt and I believe that's why kubeadm init is failing. Here is an error I see in the kubelet systemd log.

unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v2.task/k8s.io/c242a3c3dbb9b0d35489ae3f99b1cd79d12a45dcf5d4a39abcd4fd045e61dc3a/log.json: no such file or directory): exec: \"runc\": executable file not found in $PATH: unknown ...

Score: -1
NTFS Permissions
ad flag

I've created a folder called test1, a group called test_grp, I've created a test user called Jane Doe. I want the user to be able to create the file in the test1 folder but not delete. They're unable to delete John Doe's file, but, they are able to delete the file they created. Any idea how to fix this? The shared folder is on Server 2016; this is in a Domain environment.

Many, many thanks

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.