Latest Server related questions

Score: 1
Calculation of S3’s byte-hour
id flag

S3 uses the concept of Byte-Hour in billing: https://aws.amazon.com/s3/faqs/#Billing

Unfortunately (in typical Amazon AWS style) they left some details unsaid, namely what happens in the case of partial Byte-Hours.

So here is my question in the form of an example:

Suppose I store 1TB of data at Key A in my bucket. After half an hour, I delete Key A and store 1TB of data in Key B of the bucket. Af ...

Score: -2
apech zzz avatar
Discover IP address of the device knowing only MAC address
cn flag

While "wiresharking" the network, You may come across packets that looks like THIS eth.src to eth.dst (mainly colored white).. sometimes Wireshark recognize protocol LLC, NDP etc.. but sometimes it just 0x000 or 0x0de. So You know the MAC address of sender but don't know IP address.

My question is 1: How You can link it's MAC address to some IP? What in my head is just nmap -sn all the subnet then te ...

Score: 0
Alexey avatar
Nginx proxy_pass to http or https different behavior
de flag

Good day! We have a nginx-based proxy with next config:

server {
  server_name  proxy;
  listen 80;
  underscores_in_headers on;
  access_log  /var/log/nginx/access.log  bodylog;

  location / {
    proxy_pass http://X.X.X.X:Y;
  }
}

Backend is an application with first login page access to search after it. So the problem is: When we tune proxy to IP address of backend (proxy_pass http://X.X.X.X:Y) ...

Score: 0
R7B9 avatar
How can I make my apps only available from nginx and not from the direct ports on ubuntu?
ke flag

I have a VPS with ubuntu and I want to host my apps on it. I run my apps with docker and it is working - my apps run on localhost with the port I set them to using the docker-compose file. The thing is, that I can also access those apps through the server's ip (by entring the port number of the app) even though I didn't configure it on nginx. So I can go to example.com:3000 for example, and see my no ...

Score: -1
Virtual machine vs real machine server performance
mq flag

I want to self-host some services (some examples include, but are not limited to, Nextcloud, Matrix, Jitsi, Bitwarden). For security reasons, I don't want to install all of them on the same machine directly (because, if one of them causes the whole machine to be compromised, then all services will, implicitly, be compromised).

So, I only see 2 solutions:

  • one physical machine for each service
  • one physical ...
Score: 0
maloo avatar
Is it possible to use pod securitycontext fsGroup on a DockerKubernetes hostpath PersistentVolume?
cn flag

I'm trying to run an MS SQL Server instance in DockerKubernetes and the image requires fsGroup: 10001 to be set on the data volume. But fsGroup does not seem to have any effect on the volume and MS SQL Server fails to load with access denied on the data volume mounted in the Kubernetes stateful set. The image starts fine without the PV mounted.

Is there any documentation on docker hostpath storag ...

Score: 0
Nginx 502 bad gateway SSL routines:ssl3_read_bytes:tlsv1 alert decrypt error:SSL alert number 51
br flag

I'm handling a website build using nginx as web layer and apache as app layer, previously the website running smooth, but recently, the website start showing 502 bad gateway nginx, the 502 bad gateway is not always showing, it only several minutes one time, after that if you refresh browser, the website might or might not recover from that, so I assume the problem is happen on the web layer nginx se ...

Score: 1
Zabbix proxy under error "failed to update local proxy configuration copy"
eg flag

This morning I've installed a Zabbix Proxy on an host and I've seen this message in the error log /var/log/zabbix-proxy/zabbix_proxy.log using the default Template Linux:

received configuration data from server at "<OMISSIS>", datalen 10911
failed to update local proxy configuration copy: invalid field name "interface.bulk"

Moreover I've inspected the hosts MySQL table of the Zabbix proxy and it  ...

Score: 0
I just transfered domain name and now within my .htaccess file I have two codes which seem the same should one be deleted?
gb flag
RewriteEngine On
RewriteCond %{HTTP_HOST} lagiraudiere\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.lagiraudiere.com/$1 [R,L]

and this one

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Score: 0
DiDiev avatar
iptables: why are outgoing connections working even though no rules allow it
cn flag

The INPUT and OUTPUT chain policies are set to DROP. Very few rules allowing only specific traffic between directly cable-connected devices. However, if I temporarily add a cable that goes to the router, why can I initiate outgoing connections and receive answers, like do apt update, even though there are no rules allowing HTTP traffic in our out?

I have noticed that if I add iptables -P FORWARD D ...

Score: 0
cebucul avatar
DNS - GoDaddy for mail and AWS for rest
eg flag

I have a GoDaddy hosting account but for some of my websites I would like to host them in AWS S3. My question is how to set DNS entries in Route 53 so that I keep web traffic served from S3 but I point email traffic to GoDaddy?

Thank you

Score: 0
user avatar
Reverse proxy failing with unknown error
gb flag

I'm trying to self host plausible analytics. So far I've installed docker, and started the docker containers. I've also ensured nginx is running, has a valid config, allowed ports 80 and 443 through ufw, and configured nginx with the domain: https://plausible.example.com.

My nginx config looks like this:

   server {
    server_name plausible.example.com;

    location / {
        proxy_pass http:// ...
Score: 0
dangel avatar
Disk read metrics not showing for postgres activity
ru flag

I've long noticed that ESXI wasn't showing disk READ activity for my Ubuntu Postgres database server. I figured maybe it was just a weird bug with ESXI, as it would show disk WRITE activity.

I decided to install Zabbix and see if I could monitor disk read activity with that but same thing, under a very heavy DB read activity, disk read rate is 0. not close to zero, or low. but absolutely 0.

I reali ...

Score: 0
TravelWhere avatar
How to redirect user if direct access image files by browser? [nginx]
cn flag

How do I redirect if a user tries to direct access image files in browser only? I want to keep the ability to embed images with <img src="...">. How to redirect from

https://img.example.com/c/600x1200_90_webp/img-master/img/2022/01/03/08/04/54/95259215_p0_master1200.jpg

to

https://example.com/detail?id=95259215

This is my nginx conf

location ~ "^/c/600x1200_90_webp/img-master/img/\d+/\d+/\d+/\d+ ...
Score: 0
How to configure Linux X dual displays without xorg.conf
us flag

Everywhere I look tells me "you don't need xorg.conf now, X figures it all out". So, how can I set up with two separate displays, one for console, one for TV, with no xorg.conf file? I have two GPUs, one Intel built-in and one NVidia card. My current xorg.conf gives me display 0.0 for the console and 0.1 for the TV, and all works fine. Booting with no xorg.conf just gives me display 0.0. Is it possible  ...

Score: 0
mr.zog avatar
Can I use just one dedicated cache disk per portworx cluster?
at flag

I have seven kubernetes nodes, two of which are physical (bare metal) servers. One of these physical machines has a SSD I'd like to use as a portworx cache disk. Is this a supported configuration or will kubernetes endlessly look for that one disk on every host? Here's a snippet from the "spec" file I am using.

  containers:
    - name: portworx
      image: portworx/oci-monitor:2.8.1.2
      image ...

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.