Latest Server related questions

Score: 1
Nginx get / from /index.php without "directory index is forbidden" elsewhere
us flag

I need / to be shown like /index.php.

Right now I have

index index.php;
if ( $request_uri = /index.php ) { return 301 /; }
location / { try_files $uri $uri/ =404; }

And everything works fine but there are some errors like

directory index of "/home/.../public_html/tmp/" is forbidden

which I want to remove. The problem here is $uri/ in try_files $uri $uri/ =404;

https://stackoverflow.com/questions/192 ...

Score: 0
Henri avatar
Subdomain not pointing to IP despite correct A record
uz flag

Let me explain. I have a domain name which is example.com and a subdomain drive.example.com

example.com points to 203.0.113.55 -> no problem

drive.example.com points to nothing according to DNS checker.

My A record is drive.example.com TTL=14400 IP=203.0.113.55

Furthermore... when I try adding a name instead of an A record I get a "CNAME and other data" conflict

Now.. why would that be??? How c ...

Score: 0
Jannes Althoff avatar
Is the a Postfix milter supporting dkim with IDN and UTF8
it flag

I use postfix mailserver with enabled SMTPUTF8 and some IDNs, before I used IDNs I used OpenDKIM, but OpenDKIM crashes if I use the IDN in utf8 form. Then I tried pyopendkim. Then I tried dkimpy-milter, but it just does not sign UTF8 mails.

Is there a milter which supports this. I do not need a DKIM verifier just a signer.

Score: 0
Nginx websocket reverse proxy remove location
cz flag

Trying to set up an nginx https reverse proxy to home assistant, this works:

...
location / {
        proxy_pass http://127.0.0.1:8123;
        proxy_redirect http:// https://;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
}

But I would like to access it from a non-root url like home.local/ha. Similar to the goa ...

Score: 0
How to make one volume with maximal capacity out of the two disks in a 2-bay NAS without striping
cn flag

I have a Synology NAS with two disks which I want to combine to one large volume for backing up an other system.

I don't need redundancy, so something like RAID 0 would do. However I don't need the speed benefit of striping the data, but rather use the disks somehow one after the other, so that when one disks fails the data on the other is still readable. How can I do this?

Score: 0
AWS CloudWatch parse JSON case insensitive
pk flag

On the WAF section of the AWS console there is a tab for "CloudWatch Log Insights" that provides a few sample queries. One of these is "Top 100 hosts".

fields @timestamp, @message
| parse @message '{"name":"Host","value":"*"}' as host
| stats count(*) as requestCount by host
| sort requestCount desc
| limit 100

This is a somewhat misleading report title for most people I expect. I find about half my t ...

Score: 0
HP SAS SSD drives are locked?
cn flag

I have 2 HP SAS SSD drives I acquired as part of a bulk purchase of parts. One is HPE Model: DOPE1920S5xnNMRI and the other is HPE Model:ARFX1920S5xnMTRI I have 6 servers here with Raid Controllers. Most are older LSI cards like 9208's I have 1 Dell H730 and 1 H330. All of them show the drives, but they are all locked or unusable. If I have to get a different Raid Controller, I would like to know what k ...

Score: 0
Cur10usMind avatar
Issue with cross OpenVPN tunnels
ke flag

I have the following network topology. I'm physically located at VPN Client 1. First, I successfully establish VPN Tunnel 1 and VPN Client 1 connects to VPN Server 2 and is able to talk to VPN Client 2 which is connected to the same LAN as VPN Server 2.

However, when I try to establish VPN Tunnel 2 from VPN Client 2 to VPN Server 1 (having SSH'd through VPN Tunnel 1 into VPN Client 2), I lose con ...

Score: 0
shortmanikos avatar
Webdav - uploading of files over 10kB fail on a specific combination of machines
ar flag

I am using an owncloud 10.0.10 server hosted in a virtual machine (vm-A) I have no access to. I can connect to it using webdav from both my home PC and a virtual machine from a paid provider that I administer (vm-B). Everything works smoothly (reading/writing files). I was recently given access to a third virtual machine from my job (vm-C). When setting up webdav access from vm-C to the webdav server in ...

Score: 0
user38537 avatar
Apache ErrorLog skip logging specific message
bd flag

For one of my Apache vhosts, the error log is bloated with messages about "favicon.ico". I don't need these logged. I'm aware of the SetEnvIf directive that can be applied to CustomLog.

Here's my config for the SetEnvIf option and CustomLog directive

SetEnvIfNoCase Request_URI ".*/favicon\.ico.*" DontLogThese
# Other SetEnvIfNoCase matches with DontLogThese
...
CustomLog "|/usr/sbin/rotatelogs /var/ ...
Score: 0
PaulG77 avatar
HP DL360 G5 - Centos 8.5 Install
ky flag

We have an old HP DL360 Gen5. It's used Purely as a workstation on the network for 2 IT Admin staff to connect to, in the event of an emergency.

Server used to Run Windows 8, however due to is reviewing all the IT Systems and vulnerabilities, we tried to update this to Windows 10.

This failed and is now boot looping.

I tried to install Ubuntu Server and Desktop 20.04, both it which fail with stack tra ...

Score: 0
static bindings in DHCP server
ro flag

I'd like to enable static binding in the DHCP server (I'm using KEA Dhcp https://www.isc.org/kea) but I think it is applicable to other implementations as well.

What exactly I want to achieve is to ensure that a client identified by its hardware address will be re-allocated the same IP address, after the client has reset. I know this can be configured on dhcp server's config file by mapping MAC address  ...

Score: 0
Vince avatar
Wireguard windows peer RDP works but nothing else
nz flag

i have a star topology wireguard setup:

enter image description here

Host A is running a web service [Xampp] for testing

  1. ping from Host B to A ping 10.0.0.5 - OK
  2. ping from Host A to B ping 10.0.0.4 - OK
  3. ping from Host B to A to local LAN interface ping 192.168.1.100 - NOK
  4. ping from Host A to B to local LAN interface ping 192.168.0.20 - NOK
  5. RDP from Host B to Host A through 10.0.0.5 works perfectly - ok
  6. http://10.0.0.5 does ...
Score: 0
knack avatar
Bind timeout and ICMP reply port unreachable
mk flag

This days i got a strange behavior in my network/bind server.

Each 20/30 minutes and lasting about 5 minutes i got 'timeout' in bind querys. After that time everything works fine again.

My bind server got response (from 0.1 to 2 seconds) but reply with a ICMP 'port unreachable'.

Any idea the problem or what i can check?

UPDATE: Looking to the UDP/DNS packets seems the packet always begin arrive more than  ...

Score: 0
Allow access to remote VM with Postgres only from VPN access
us flag

I'm missing knowledge about VPNs. Given is a remote VM with Postgresql. The Server has a public IP.

Is (and if how) is it possible to:

  • Database Level: allow connections to postgres (pg_hba.conf) only if the user has the company VPN activated (<- how can it be identified?)
  • Server Level: close the public IP but allow access to the server if the user is within the VPN? (Does this makes sense?)

I'm ev ...

Score: 1
Apache reverse proxy with Kerberos authenticate and LDAP authorization
to flag

Server version: Apache/2.4.37 (Red Hat Enterprise Linux) Apache is launched as a container in the Openshift cluster.

I am using Apache as a forward and reverse proxy for Kibana.

Mandatory requirement is use Kerberos and need a role model to differentiate access. I created in elasticsearch admin and viewer users. Depending on the LDAP group, the Apache must transmit either a header with the administr ...

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.