Latest Server related questions

Score: 0
Darrell Brogdon avatar
How to do an nginx redirect excluding an IP address and a path?
fr flag

I need to redirect to a URL unless the user is coming from within our internal IP address or if they are accessing a particular path.

I've tried this:

location ~* /foobar {
    break;
}

location ~* / {
    if ($remote_addr != 111.222.333.444) {
        rewrite ^ https://external.tld/
    }
}

But that doesn't seem to work. That particular configuration causes a 404 when going to https://mydomain.t ...

Score: 2
Centos System V IPC message queue limits
cn flag

[Although I'm working in perl I believe that this question relate to Linux System V IPC APIs and limits rather that the anything perl-specific.]

I have two Centos machines, each at CentOS Linux release 7.9.2009 (Core).

I have a program that forks a child and then uses System V IPC messages to communicate with the child, the child prepares answers ands sends them to the parent.

On one machine we see exp ...

Score: 0
davidburtton avatar
How to enable local image registry on OpenShift Single Node Cluster installation
gw flag

I've recently completed an installation of a Single Node Cluster using OpenShift 4 but I'm running into issues when trying to spin up some of the example container / projects they have available. I just keep getting the following error:

Error starting build: an image stream cannot be used as build output because the integrated container image registry is not configured

It doesn't seem to matter which  ...

Score: -1
YoavKlein avatar
Understanding TCP receive window
co flag

I'm currently learning about TCP, particularly the receive window aspect. I've read from several sources about it, and there's something I want to make sure I understand.

From what I've learnt, the receiver advertises a "receive window", which is - and this is where I get confused - the number of bytes that the sender is allowed to send without being acknowledged for, or in other words, the data in flig ...

Score: 3
ony4869 avatar
Openstack Nova and Ceph Volume Attachment Issue
cn flag

I am trying out the volume attachment function at Openstack (version:wallaby) to the server as additional device but failed.

The volume backend is ceph which all of the osds are up and healthy.

ceph-osd/38*                   active    idle   0         172.16.6.64                        Unit is ready (1 OSD)
    ntp/149                      active    idle             172.16.6.64     123/udp             ...
Score: 0
DeadSec avatar
Disable URL decoding in certain urls KEMP Load Balancer
cn flag

So I recently set up GitLab in my server and I use the kemp load balancer to reverse proxy and also manage other rules and stuff but today I noticed that the web IDE wasn't working and after looking at the logs and doing some research I found out that the reason for this to happen is that kemp is decoding slashes that it shouldn't be decoding in the first place and I was wondering if it's possible for m ...

Score: 0
Manas avatar
How to check if any connection was made from my ubuntu server to a specific IP address? (I have the destination Ip address)
rw flag

Server setup: Ubuntu 18.04.6 LTS running Gitlab self-hosted

I received an email from gcloud saying the server(VM) might have been compromised and used for cryptocurrency mining. It also mentioned the destination IP of that server.

So this is what I'm trying to figure out:

  1. If there was any connection made to that IP from my server
  2. If yes, find the source file in the server that could have made the  ...
Score: 0
pbuzz007 avatar
AWS S3 Static Website vs CloudFront OIA
si flag

It seems there are kind of two ways to host a static website on S3/CloudFront.

  1. Create S3 bucket with full public access and Static Website set to Enabled + CloudFront config
  2. Create S3 bucket with no public access and Static Website set to Disabled + CloudFront config

What I don't like about (1) is the glaring "DO NOT DO THIS" red text for public access. But it works perfectly.

What I don't like about ...

Score: 1
Is there anything I can do to fix my domain?
gb flag

I am looking for a help with the domain loopla.com. In general it all seems to be OK. It was recently purchased and initially hosted on GoDaddy, moved to Google Cloud and recently to Cloudflare. Originally, it was created and used about 15 years ago - not sure if this could cause any issues?

Tests on https://dnschecker.org/dns-record-validation.php look good - 15 out of 17 tests are OK - just two warn ...

Score: 0
Changing AD creds from Mac or Linux
sa flag

I work for a firm that uses primarily AD for most of their authentication. This includes a VPN and Email. The firm provides Windows laptops for employees, I am one of their Linux developers and opted out of getting a Windows laptop. I use a Mac and Develop on Linux. The Linux severs I touch I have full access to them are in the same network as the AD servers, but are not tied into AD. They use a di ...

Score: 0
pfSense RADIUS challenge
gp flag

I'm trying to configure my pfSense box (running 2.5.2-RELEASE) to use my RADIUS server for admin login authentication.

My RADIUS server challenges for a TOTP code after getting the correct password, and this is working correctly (I have a number of other systems here using it for login).

I've configured my pfSense box with a RADIUS server (User Manager->Authentication Server) and I've set pfSense ...

Score: 0
Mnemosyne avatar
nginx reverse proxy not serving local domain correctly
fr flag

I want to resolve a few domain names locally in my computer. To do this I added in /etc/hosts the following line:

127.0.0.1 example.com

Then I configured nginx with the following config file example.com.conf

server {
      server_name example.com;
      client_max_body_size 100M;

      ssl_certificate /home/user/certs/example.crt;
      ssl_certificate_key /home/user/certs/example.key;

      locati ...
Score: 2
sidiki camara avatar
Access denied to Failover CSVFS
cn flag

I've been trying to troubleshoot an issue with a CSVFS on my failover cluser. It all started after updating my nodes (windows update). Not quite sure if that's the root cause since all other CSVFS are available.

Whenever I try to access the volume from windows explorer I get an "access denied". However, I can access the content using cmd.

I've tried unexporting and exporting back in vain. I also use ...

Score: 0
Lucas avatar
Docker/Podman in Docker fails as a GitLab CI job
cn flag

Context

I am running my own GitLab instance with an extra server for CI. In case it matters my host for the gitlab runner has CentOS 8 and the gitlab runner is version 14.4.0 and the gitlab instance is running 14.4.1. I am currently using a shell executor on the CI server but want to switch to a docker executor.

Gitlab Runner Config

My /etc/gitlab-runner/config.toml looks like this:

concurrent = 1
 ...
Score: 0
farroh avatar
htaccess match all words until last slash and redirect 301
cn flag

I'm trying to escape everything until the last slash, even if there's a slash in between. Example:

/site_url/courses/cat1/cat2/subcat/coursename

to

/site_url/course/courseName 

or

/site_url/course/courseName 

How could I achieve this with Nginx or Apache?

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.