Latest Server related questions

Score: 0
andrewniesen avatar
NGINX location block pipes everything to index.php except images
cn flag

I have an API server that pipes all traffic to an index.php script that uses the PHP $_SERVER['REQUEST_URI'] variable to interpret the URL and serve up the correct response.

This works perfectly for everything, EXCEPT I have a script that temporarily serves files from a non-authenticated endpoint for public consumption. So the browser interprets the file data correctly, the file extension is included at ...

Score: 0
Key forwarding with putty isn't working, but plink DOES work
nl flag

I'm having a problem where putty's key forwarding (via pageant) to my gitlab server isn't working. I'm doing a putty session to my server, with ssh auth forwarding enabled. I see the effects of that forwarding in the environment variables on the remote system.

Here's a transcript from an attempt that is not working. This is in a putty window.

login as: elyograg
Authenticating with public key "elyog ...
Score: 0
Frugan avatar
Real Client-Ip with Cloudflare, Docker, Traefik and nginx set up as a mail proxy (Client-Ip in PHP script, not in upstream mail server)
id flag

I set nginx as a mail proxy, but i have trouble detecting the real Client-Ip in the php authentication script called by nginx via auth_http.
I am not interested in getting real-IP on the upstream mail server.

This is my stack:

  • Cloudflare manages dns
  • The rest is all handled with Docker

docker-compose.yml:

version: '3.9'

services:
  traefik:
    container_name: traefik
    image: traefik:v2.6.0
    po ...
Score: 0
eumpf avatar
Soft-RoCE (RDMA over converged ethernet) over bonded ethernet interfaces?
ua flag

I am having a hard time finding any information at all about wether it's possible to use the Linux Kernel RXE driver (software RDMA over converged ethernet) with bonded ethernet interfaces (using dynamic link aggregation as in 802.3ad).

There seem to be some Mellanox HCAs which do support RDMA + LAG but in hardware and using the Mellanox specific drivers (https://docs.nvidia.com/networking/pages/viewpag ...

Score: 0
Artem avatar
Can not redirect https with upstream directive
ph flag

With such config a I get redirecting to google.com

server {
    listen 80;

    proxy_ssl_server_name on;
    rewrite_log on;

    location / {
        proxy_pass https://google.com;
    }
}

but if I add upstream instead of host

upstream some-backend {
    server google.com:443;
}

server {
    listen 80;

    proxy_ssl_server_name on;
    rewrite_log on;

    location / {
        proxy_pass http ...
Score: -1
Erfan Safarpoor avatar
error The Process class relies on proc_open, which is not available on your PHP installation
cn flag

after change server and setup centos with cpanel lumen cron job not worked and every minutes add this error to lumen log:

The Process class relies on proc_open, which is not available on your PHP installation. in /home/username/public_html/api/vendor/symfony/process/Process.php:143

i see active php version ini and remove proc_open from disabled function and restart litespeed but not fix this problem i  ...

Score: 0
SirLouen avatar
Ubuntu server unattended upgrades and file mods
cn flag

I've always been wondering a thing and never have set up this Ubuntu server feature because of this:

What happens if during the process of installing one unattended upgrade, the system needs to modify a file?

Score: 1
Why is traffic routed between different veth devices?
ua flag

I have a problem: there is unexpected route path between virtual network devices.

Let's create two independent veth-peer device pairs:

$ sudo ip link add veth0 type veth peer name peer0
$ sudo ip link add veth1 type veth peer name peer1

Assign addresses to peerX devices:

$ sudo ip addr add ab:: dev peer0
$ sudo ip addr add cd:: dev peer1

Set all devices up:

$ sudo ip link set dev veth0 up
$ sudo i ...

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.