Latest Server related questions

Score: 1
Daniel avatar
alterando client_max_body_size: nginx + beanstalk
in flag

I'm trying the upload limit imposed by NGINX...

I created a proxy.conf file that has:

files:
  "/etc/nginx/nginx.conf" :
    mode: "000777"
    owner: root
    group: root
    content: |
        http {
          client_max_body_size 50M;
        }

in the .platform/nginx/conf.d folder structure.

I deployed the code and I keep getting the error: 413 Request Entity Too Large

Score: 0
Can't `ssh` and the `docker exec` in a single command
br flag

I want to ssh into a remote server that runs a docker engine and then docker exec a bash in my-nice-container, in interactive mode. I want to do all in one shot.

I'm doing this from my local computer:

ssh my-site-with-a-docker-engine.example.com docker exec -it my-nice-container bash

I get this error: "the input device is not a TTY"

Question: How can I force the ssh to notify the other side that ...

Score: 0
Scheintod avatar
configure dnsmasq to give out addresses in different ranges
bz flag

I'd like to give unknown clients an ip address in one range and known clients in another (that is a static one).

I tried quite a lot now and don't seem to get it working. All I get is an "no address available" error.

My network is 10.1.0.0/22 (<-!!!) Guests should be assigned an address in the range 10.1.3.1-10.1.3.254 Static addresses are in range 10.1.2.1-10.1.2.254

so this is my config:

ifac ...
Score: 0
callegar avatar
Is compiling/testing/using a systemd-resolved not aligned with the version of the rest of systemd present on the system supported?
in flag

Is it possible to compile only systemd-resolved from the large systemd sources (without all the rest of systemd) to attempt identify a fix to backport? Can a new systemd-resolved coexist with the rest of a system that is based on an oldish systemd?

Score: 0
Suvitruf - Andrei Apanasik avatar
Setup wordpress as subpath but in different root
ua flag

Main site: example.com in /var/www/example.com.

Wordpress blog: example.com/blog in /var/www/blog.

Can't make it work.

server {
    listen 80;

    server_name example.com;

    root /var/www/example.com;

    # Add index.php to the list if you are using PHP
    index Index.html index.html index.htm index.nginx-debian.html;

    location ~* \.(ico|jpg|jpeg|png|gif|swf|css|json|txt|sd|html)$ {
          ...
Score: 0
trnj avatar
How does browser resolve unregistered domains like .ph or .ws?
dk flag

If we visit an unregistered domain like http://no-domain-here.ph/ we get a webpage from ph registry

However, this domain doesn't have any ns records associated. How does it work?

Score: 0
pico avatar
How to give each WSL distro a distinct IP address?
jm flag

How to give each WSL distro a distinct IP address, and then connect to those IP addresses via Windows?

I was curious if its possible to setup two different ubuntu distributions using WSL and somehow assign a unique IP address to each one of them, and then finally to write a winsock program under windows that can commute with each running WSL virtual machine using the IP address assigned to them.

Is  ...

Score: 1
Weird Active Directory DNS Issue
us flag

I am having a DNS issue I cannot figure out. For one specific hostname, when I create an A record, the name ends up changing when it replicates to the other DNS servers in AD.

We currently have two virtual DC/DNS servers & one physical DC/DNS server and replication is working between them. But for whatever reason when I create the record on any server, once it gets to the other ones it has an ...

Score: 0
rBeal avatar
using strongswan with pkcs11 and yubikey
us flag

I am trying to deploy a new VPN configuration in my enterprise.

I have successfully established a connection between my computer and my vpn ipsec server in certificate mode.

I uploaded the p12 file in my yubikey which contains my private key, the pub key of the server and the CA.

$ pkcs11-tool --test --login

Using slot 0 with a present token (0x0)
Logging in to "uid=r.beal,dc=ldap-...".
Please enter Use ...
Score: 0
k1dfr0std avatar
How to reset the "allow pc to be discoverable on this network" prompt?
cn flag

I have been advised to ask this question here on ServerFault.

I've searched StackExchange, StackOverflow, and Google and I'm not finding any insights on how to reset the prompt when first connecting a PC to the internet. I've found oodles of articles here and abroad discussing "How to disable" this prompt from showing up in the first place - BUT - I'm wanting to "reset" the prompt in order to disp ...

Score: 1
No incoming traffic on Hyper-V Adapter inside VM
jp flag

I have a very annoying problem with my Hyper-V setup and it's bugging me quite a bit, because I can't figure out why.

My Hyper-V Host is a Windows Server 2019 and has three network adapters. Adapter 1 & 2 are physical and have static configurations.

Adapter 3 has been configured as a Hyper-V extensible Switch. (External) This adapter is connected to a trunk port on a cisco switch, where multiple ...

Score: 12
Yefet avatar
Difference between Azure Container Instances and Azure Container Apps
us flag

Microsoft announced Azure Container Apps, a new service for running serverless containers in the cloud. This appears to be similar to the Container Instances service, which is also for deploying fully-managed containers.

What are the key differences between these two services?

Score: 0
Nadav Aviv avatar
Ignore HTTP_PROXY env variable in conda install
vn flag

I'm trying to configure my local conda client to use a nexus channel, and use it only. The workspace I'm using has the HTTP_Proxy and HTTPS_PROXY environment variables set (And I need them to stay set...)

Every time I try to install anything (with or without adding the --override-channels) flag, this is the stack trace I'm getting:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.9/site-p ...
Score: 0
Rewrite to https://localhost:8000 rather than https://localhost
kr flag

I use nginx in my MacOS to test third-party authentications such as Google and Twitter in localhost. As a result, on my local website https://localhost:8000/..., I could engage with www.funfun.io for third-party authentications.

Here is the nginx configuration file:

worker_processes  1;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    default_type  application/octet-stre ...
Score: 0
SQL Server 2008 R2 Nested Query with a Function
cn flag

I am helping another SQL Server DBA with an issue they have with just a particular SQL Server 2008 R2 instance. I have run this query successfully on my own 2008 R2 instances, 2012 instances, etc. I'll list the query below. The sub-selects are pulling a single specific value from a table-valued function. We have verified that the referenced view column exists, we have verified that the function can be s ...

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.