Latest Server related questions

Score: 0
user3621726 avatar
multiple upstream groups in nginx.conf
us flag

Nginx beginner's questions: are multiple upstream definitions allowed in the config, e.g:

  upstream backendA {
    server host1:443;
  }

  upstream backendB {
    server host2:443;
  }

  location addrA {
    https://backendA/;
  }

  location addrB {
    https://backendB/;
  }

}
Score: 1
thx1111 avatar
Configuring Postfix to Restrict User Access to the Postfix "Sendmail" Command
kr flag

Reading at http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions, we see that, by default, network mail relay access to postfix is restricted to "local" or "authenticated" users:

smtpd_relay_restrictions (default: permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination)

Access restrictions for mail relay control that the Postfix SMTP server applies in the context of the RCPT ...

Score: 0
kanka.dev avatar
wget timeout after updating Debian from buster to bullseye
br flag

After the update from Debian Buster to Bullseye I can't use wget anymore. Curl is working fine.

I have timeouts and the file couldn't be downloaded or it takes a very long time or retries.

root@mydomain:~# wget https://en.wikipedia.org/wiki/File:Wikipedia-logo-v2.svg
--2022-05-07 19:56:25--  https://en.wikipedia.org/wiki/File:Wikipedia-logo-v2.svg
Resolving en.wikipedia.org (en.wikipedia.org)... 2620: ...
Score: 0
kanka.dev avatar
proxy_fcgi:error: The timeout specified has expired: Error dispatching request to : (polling)
br flag

my web server reaches the state of being unreachable every 1-2 days until I completely restart the server.

The server is Debian Bullseye with the newest Apache + PHP 7.4. I'm using FPM, because I want to have HTTP2. 16 GB RAM vServer.

/var/log/apache2/error.log:

[Sat May 07 18:01:57.970776 2022] [proxy_fcgi:error] [pid 139033:tid 139719866291968] (70007)The timeout specified has expired: [client xxxIP ...
Score: 0
Rolling Coders avatar
Cert-manager letsencrypt pending with cert-manager and traefik
de flag

i have a cluster on AKS, that is using traefik to serve a simple http service. I'm trying to use letsencrypt, the DNS is setted up and resolves to aks public ip address correctly but all certificate requests becomes stuck and pending, below my configuration (i also have a web route, same as websecure):

---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: service-ingress ...
Score: -2
Display resolution
cn flag
LKY

How can I increase the display device resolution in the screenshot from 800 x 600 to 1920 x 1080? I am using the windows server 2019 datacenter VM. It changes to 1920 until I log on. The display screenshot resolution of the same VM I created a few months ago was in 1920

enable instance virtual display

screeshot

Score: -1
server does not show username after login
in flag

When login using ssh I write my password but it does not automatically continue the login, I have to do ctrl + c to get into the server, and when I am in, the username is not shown like before.

user@xxxxxxx ~ % ssh [email protected]
user@xxxxxxxx password: 
Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 5.4.0-109-generic x86_64)
Last login: Sat May  7 09:26:15 2022 from 2001:700:301:11::12f
#STUCK HERE.. ...
Score: 0
Unknown instruction: YUM while building Docker image
il flag

My Docker file:

FROM remote-host

COPY ./conf/nginx.repo /etc/yum.repos.d/nginx.repo

RUN
  yum -y install nginx-1.12.2 openssl --enablerepo=nginx &&
  yum -y install https://centos7.iuscommunity.org/ius-release.rpm &&
  yum -y install https://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/ius-release -1.0-14.ius.centos7.noarch.rpm &&
  yum -y install
   php71u-fpm
   ph ...
Score: 0
How do i download MySql On Debian Based?
cn flag

I wanna make a db and i need mysql for that.

I was trying to do this command: sudo apt install mysql-server and i got this:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourc ...

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.