Latest Server related questions

Score: 1
CaptainJack42 avatar
apache2.4 reverse proxy to nginx gitlab server
us flag

I'm currently running an owncloud server based on a apache 2.4 webserver on my raspberry pi 4 8GB (working on dietpi 7.3) which works great i have a public domain setup and use letsencrypt to create certificates. I now want to also setup a gitlab server on this pi, the gitlab server is working and reachable inside my local network through it's IP address and it's port (192.168.1.234:1234). I've setup th ...

Score: 0
Can't get LCX bridge to work
jp flag

I can't get a network bridge under (a up to date) arch-linux as a host to work: I am aware that the lxc default is read on creation time of the container (I created a new container after changing the network settings).

(base) [r0b3@toshi ~]$ sudo lxc-start -n container32 --logfile aaaaxxxxxs.txt --logpriority DEBUG
lxc-start: container32: lxccontainer.c: wait_on_daemonized_start: 868 Received conta ...
Score: 0
Apache Caching disabled when client sends If-Modified-Since header
li flag

I'm trying to get Apache to cache the results from running an expensive PHP script (it accesses a third party server which has rate limiting) but it seems if the client sends an If-Modified-Since header the cache is bypassed.

CacheEnable disk /script.php
CacheLock on
CacheLockMaxAge 60
CacheIgnoreHeaders Set-Cookie
# prevent client explicitly requesting un-cached content
CacheIgnoreCacheControl on
CacheDe ...
Score: 0
How do I maximize nvme raid0(md) performance (in linux)?
tt flag

Nvme raid0 read(and write) performance is sometimes worse than the performance of one individual underlying drive.

hdparm -t /dev/md0 :

Timing buffered disk reads: 7054 MB in  3.00       seconds = 2350.46 MB/sec

hdparm -t /dev/nvme0n1 :

Timing buffered disk reads: 7160 MB in  3.00    seconds = 2386.32 MB/sec

This is a datacenter hosted bare metal unit, the drives and the server are cooled properly so t ...

Score: 0
jkayes_ avatar
Mitigating TCP reset attack via iptables
mx flag

I appear to be a victim of TCP reset attacks with the purpose of preventing me from downloading specific data. I know this is the case at this stage.

For the time being I am staying at a hotel and so I do not have access to the router firewall here, but my question is: Would it be possible to prevent TCP reset style attacks through iptables?

What I have attempted to do is block RST (and FIN) packets ...

Score: 0
rezshar avatar
Manage ports in Docker with CSF?
cn flag

There are several questions about this, I read them all but it did not solve my problem. I wrote this question to answer this issue comprehensively once and for all to solve the problems of people like me.

Suppose we have an Nginx container on Docker that listens to port 80 from outside the server. How can I manage Port 80 with CSF? I want this port to be closed in server and only available for c ...

Score: 0
mesh avatar
Can I have SSL certificate in AWS without domain name?
de flag

For learning purposes I need to have SSL certificate in my ec2 Instance without a domain name. Can I do that in AWS? If so, how?

Score: 0
sergeantSalty avatar
How to do IP canonicalization with Nginx and Certbot
cn flag

I have multiple services running on my server which will be accessed via nginx and encrypted by certbot. If i want to acess my service with my http://example.com, I get redirected to http(s)://example.com, which is great.

However, if I type in my IpAdress:Port I wont get redirected to my domain. This is my abc.com file in /etc/nginx/sites-enabled

server {
server_name abc.com; #example: mysite.xyz
#a ...
Score: 19
Basil Bourque avatar
List of top-level domains (TLDs) that require HTTPS connections, like .dev
za flag

I know the .dev top-level domain requires all sites to support only encrypted HTTPS connections, disallowing any HTTP connections.

Are there other such TLDs?

Score: -2
user4838962 avatar
DNS server query by the registry of my domain name is fine. But browser cannot fetch my website by its address
ng flag

When I query my DNS server by the website of the the registry of .com** top-level domains, I can see that my DNS server is found:

Query
Domain: example**.com**
Answer:
Following name-servers have been defined in **NIC DNS for your domain:

1. ns.example**.com**

IP addresses defined for NS servers in **NIC DNS (glue records):

1. ns.example**.com**. *4.*41.2*.1*4
Name Server: "ns.example**.com**"
Lis ...
Score: 0
Nginx proxy manager, how to forward to a specific folder?
cn flag

I've got a few things running behind nginx proxy manager and they all work because the basic http(s)://IP:port request locally auto loads the desired location. For example, my nextcloud instance loads /index.php/login.

I just installed an app (Azuracast, using docker), but the way that works is http(s)://x.x.x.x:port loads /login or /dashboard if you are logged in. Thats the admin dashboard but I ...

Score: 3
NeilWang avatar
Exchange 2010 version under Exchange Management Shell is Different with Exchange Management Console
it flag

I'm assisting a customer upgrading their existing legacy Exchange 2010 server. However, I found the version number I got from the Exchange Management Shell is different from the Exchange Management Console.

The service is running at the moment and the email is functioning.

Is that safe to ignore? Which is the real version installed?

enter image description here

Score: 0
How do I recover a broken logical volume group?
in flag

I created a logical volume group for my xen VMs on a separate drive. I had them working perfectly. Then I accidentally unplugged the USB cable hosting my vg0. Now my VMs drives cannot be detected.

I can see them.

root@bradNewInspiron15:/etc/xen# lvdisplay -v /dev/vg0/lv-vm-debian01 
File descriptor 58 (/run/user/1000/gnome-shell-disable-extensions (deleted)) leaked on lvdisplay invocation. Parent PID  ...
Score: 0
Slodog avatar
Apache sort order and preventing merging using the location directives in virtual server
ru flag

I have two locations, one of which is a subset of the other. I would like the match to be either/or. However, in the more specific path, it appears to match both and merge the potential weblogic destinations. The desired behavior is it it matches /alpha/beta to go to location X. If it doesn't match /alpha/beta, but still has the root of /alpha to go to location Y.

<VirtualHost *:10000>
  Serv ...
Score: 1
Rodion Grinberg avatar
HaProxy - Abillity to redirect subdomains and the base domain to the same backend
my flag

I need some help with the HaProxy setup.

Currently, I have the following config:

frontend fe_main_http
  bind :80
  reqadd X-Forwarded-Proto:\ http
  use_backend %[req.hdr(Host),lower]

frontend fe_main_https
    bind 0.0.0.0:443 ssl crt /etc/haproxy/certs/ no-sslv3 no-tls-tickets
    reqadd X-Forwarded-Proto:\ https
    use_backend %[req.hdr(Host),lower]


backend test1.domain.com
    redirect scheme ...

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.