Latest Server related questions

Score: 0
Rich_F avatar
Best Path for nginx Files
om flag

I've always struggled with various paths for nginx files and where they should be positioned. As we know, we can change where we can park both the www directories for our web app, as well as the associated log files.

The issue that I've found is that I have bash and Ruby user scripts both for SSH calls as well as crontab scripts that need access to various parts of these nginx files, as well as schedu ...

Score: 1
akpuvvada avatar
'mail' not working in Script same way it is working from command line
mf flag

The below line of code/command is working as expected if I run it from Unix terminal, but not if I include it in a script and run the script - exact same.

I am expecting the X-Priority to show the mail as high priority in Outlook. If I run it from command line, I see the email is showing correctly as high priority and I see the file is attached and the body appear as supposed to. However, if I wr ...

Score: 0
Benjy Wiener avatar
Make WireGuard server accessible via multiple interfaces
sh flag

I have a Raspberry Pi running WireGuard listening on port 51820. The Pi is connected to the my router via eth0 (192.168.1.51) and wlan0 (192.168.1.50), with the eth0 route having higher priority. My router forwards port 8880 to 192.168.1.51:51820 and port 8881 to 192.168.1.50:51820.

I can connect to WireGuard via port 8880, but when trying to connect via 8881 the handshake doesn't complete. I can  ...

Score: 1
P.... avatar
Decrypting Kubernetes secret using the encryption key
ly flag

I have a toy Kubernetes cluster with Encryption at rest enabled using the abs-256-cbc provider; I have not used any vault here for kms simulating the problem. This means the encryption key is in a plain text file on the master node.

apiVersion: apiserver.config.k8s.io/v1
kind: EncryptionConfiguration
resources:
  - resources:
      - secrets
    providers:
      - aescbc:
          keys:
            -  ...
Score: 0
phillip8 avatar
This connection is not secure. Logins entered here could be compromised
am flag

This is on Geoserver which uses Jetty/Java. I followed this article on a Debian machine and then added SSL with Certbot (my padlock is fine). The message comes up when I click the user/password input box. It seems like a mixed content warning but I don't know what Nginx or Geoserver configuration I need to change. I have v2.22.2.

server {

    server_name mydomain.com www.mydomain.com;

    location / {
  ...
Score: 0
How can I create an nginx reverse proxy that passes through all traffic for all domains?
cn flag

I want to make it possible to pass all traffic regardless of hostname or domain through the nginx server.

I either want to be able to do something like this: http://mynginx/domain.I.want.somehost/url/params/this/host. And then have nginx forward the request to http://domain.I.want.somehost/url/params/this/host.

Or make it possible to hit the server and specify a host header. So a request to http:// ...

Score: -1
selbie avatar
DNS address switched, but clients still hitting the old server
eg flag

I have a non HTTP server I run for supporting a popular VOIP/WebRtc protocol.

Server "A" is the old server. Server "B" is the new server. Both can run independently, but do the same thing. Server "B" is fully ready to go as the replacement for "A". Two days ago, the DNS entries were switched to point to "B" instead of "A".

The trouble is, I still see a lot of traffic going to "A" instead of "B". T ...

Score: 2
Davids Learnin avatar
Windows Server 2019 Throttling for Domain Users and not Admins?
cc flag

Morning All,

I've got a fairly new environment running the latest ESXi, all WS19S servers AD joined and everything seems to be working as it should and is very responsive as all of the servers are over provisioned in resources. Recently, we installed an application that runs from a file share on one of the servers, app seems to do well until it has to loop through a folder that has 40+GBs of PDFs ...

Score: 0
Adam avatar
Guard Authenticator hits
cd flag

we have our codebase installed and rolling our from Google App Engine, using Compute Engine as well.

When looking back at the logs for a particular VM, I'm see a LOT of "Checking support on guard authenticator" and then "Guard authenticator does not support the request." Literally 230,000 a month.

It's an ecommerce platform. Help?

Score: 0
Heiner avatar
sieve vacation using from: not reply-to:
cn flag

Sieve vacation answers fine, but uses the from: field but not the reply-to: field, which would make much more sense (to me).

Using sieve with roundcube, sieve script is

require ["vacation"];
# rule:[rep]
if header :contains "subject" "Software"
{
    vacation :subject "reply!!" "abc";
}

How do i hint sieve to answer to reply-to?

Score: 0
ABhey avatar
How to configure IIS and the client in two different virtual machines
er flag

My question is about the connection between IIS (ISAPI Filter) and an application. I have to Configure IIS 7.5 and Tomcat Connector ISAPI Filter on Windows Server 2019 I want to configure IIS in a virtual machine and I will have the tomcat app in another machine . Is the link between them would be with dns or another configuration? Thank you

Score: 1
How do I fix CORS issues in Cloudfront CDN?
in flag

I run a WordPress website and recently configured a CDN using CloudFront.

Most of the features are working fine, but I'm experiencing CORS issues with JS files I'm loading from Github.

I have tried many methods to resolve this issue, but I still get the following error.

Ensure CORS response header values are valid

A cross-origin resource sharing (CORS) request was blocked because of invalid or missing r ...
Score: 25
Cecilia avatar
What are examples of software that may be seriously affected by a time jump?
mx flag

The chrony documentation warns

BE WARNED: Certain software will be seriously affected by such jumps in the system time. (That is the reason why chronyd uses slewing normally.) Documentation

But the documentation gives no examples. What are examples of software that will be seriously affected? Is the OS or any background processes at risk?

Score: -1
Schmad05 avatar
Cisco ASA to Watchguard
in flag

I have never worked with watchguard firebox firewalls in depth before and we are replacing a Cisco ASA 5515 with a Watchguard M390. I am having a hard time interpreting the configuration settings in the cisco and where they would apply in the Watchguard. I was hoping someone would get me started. For example for these cisco settings, how would i create them in the watchguard? See the cisco config ex ...

Score: 0
Arrow Root avatar
Is there a way to render the output of a data resource before run terraform apply?
sm flag

I would like to be able to see the JSON of a data resource (like a policy document) on the plan. Currently these type of resources only "renders" during the apply.

I want to know if there is a way to see it before run the terraform apply.

Here is my code:

data "aws_iam_policy_document" "my_policy" {
  statement {
    sid = "S3"
    effect = "Allow"
    actions = ["s3:*"]
    resources = [
      aws_s3 ...
Score: 0
schube avatar
Reverse Proxy (NGinx) with captcha
es flag

I am trying to prevent some brute force attacks on an web app by having a captcha before the login page.

The application itself is not modifiable by me, so I cannot change the login form.

I could put something like Authelia in front of the web app, but this would be total overkill. I don't need 2FA, just a simple captcha will do.

I read some entries here and on the web about testcookie-nginx-module but ...

Score: 1
Rich avatar
Config for different headers for different paths but always end up serving the same file
cu flag

I would like to serve different headers for different locations but fallback to always serving a specific file (if no matching file can be found).

I've also got some global headers that needed to be added to all the requests, though with the caveat that I don't want them added if they've already been added at the location level.

I've got this .template.conf so far:

server {   
   listen   ${PORT};
 ...
Score: 0
Maximilian Krause avatar
Debian 11 VM sudden CPU overload due to Node.js
de flag

I'm currently running into an issue where one of our Proxmox VMs, running on Debian 11, suffers of very sudden CPU overloads. This has happened past week already and again today. When this happens, the server is completely unresponsive. We can't even access it through the Proxmox console as it won't accept any input. This is what the CPU graph (average) looks like:

enter image description here

Memory, network or disk usage don't sho ...

Score: 0
Oleg avatar
SSL handshake error - log domain name with Nginx
in flag

Is it possible to extend SSL handshake error log to determine which domain was requested? Now I get log in the following format without any information about domain:

2023/02/27 12:27:58 [info] 60011#60011: *302628755 SSL_do_handshake() failed (SSL: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher) while SSL handshaking, client: XXX.XXX.XXX.XXX, server: 0.0.0.0:443
Score: 0
gegentierversuche avatar
Can't connect to MariaDB from internal VM Structure
ps flag

S1

Virtual Machine 1: Ubuntu app server

Virtual Machine 2: MariaDB 1

S2

Virtual Machine 3: Ubuntu app server

Virtual Machine 4: MariaDB 2

from vm04 and 03 I can connect to DB1 with connection string with port 3306 but I can't connect DB2 from vm01 and 02

telnet can connect from 3306 to DB2

both of DB's MariaDB 10.6 and all of the VM's has got same configuration. VM03 can connect to DB2.

When I liste ...

Score: 0
stackprotector avatar
NetApp: Cannot import private key from an external CA
th flag

Using the ONTAP System Manager, I'm trying to add a certificate according to the docs. Unfortunately, whenever I try to import the private key file, I get the following error:

No valid private keys can be imported from the selected file.

When I copy & paste the private key and click on Save, it also fails, but with another error message:

The private key is not in a valid format. Paste in the priva ...
Score: 0
Saeed Neamati avatar
ssh: Could not resolve hostname falcon.codes: Temporary failure in name resolution
cn flag

Sometimes when I nslookup falcon.codes I get this error message:

ssh: Could not resolve hostname falcon.codes: Temporary failure in name resolution

And as I tried to troubleshoot, I saw that somebody suggested to run nslookup -d2 falcon.codes. I ran it, and this is the results:

main parsing falcon.codes
addlookup()
make_empty_lookup()
make_empty_lookup() = 0x55b1446741f0->references = 1
looking up  ...
Score: 0
user2358299 avatar
jenkins multibranch - why jenkinsfile checkout only main
lt flag

I have seen a multibranch example : https://devopscube.com/jenkins-multibranch-pipeline-tutorial/?unapproved=49471&moderation-hash=53d25ad46b16419cf56ed585dbf9d693#comment-49471

Why the jenkinsfile checkout only the main branch? I would expect that the relevant branch triggered (in the multibranch pipeline) would be checked out.

As described in the tutorial - if "feature" branch triggered by p ...

Score: 1
Masking systemd service
us flag

I am installing a few third party rpms in my system, and one of those rpm packages a systemd service file, and a preset file to enable the service. I want to keep the service disabled and masked.

For disabling, systemd provides preset framework and I can write a preset file with higher priority.

But how do I mask the service? Is there a configuration file I can install, similar to preset files? Or I have ...

Score: 0
RuMAN S avatar
OpenLDAP Child or Relay server configuration assistance
cn flag

I am a really lost here and would appreciate some help.

My organization already maintains an OpenLDAP server which allows read-only access

Running this gives me an entire dump of all the users and groups and OUs in my organization.

ldapsearch -x -b dc=corp,dc=ORG,dc=com -H ldap://xx.eng.yy.ORG.com

This is good, now I have the organization hierarchy in my hand.


Next, I want to create an OpenLDAP  ...

Score: 0
biplab  avatar
How to monitor windows GPU in zabbix
pg flag

I am using zabbix 6.0 and I wan to monitor the gpu usage and temperature and other things related to GPU of my windows host, How can I do that, I have windows 10 and agent installed

Score: -1
Guru avatar
Add Network Printer using command /Powershell after exporting it from One Machine to Another Windows 10/11
bd flag

AIM : To export Network Printer from one Windows 10 machine to an output file and using that output file import it to another Windows 10 machine on the same network.

Research work:

The following Powershell cmd shows the Mapped printers for a user:

cmdlet 1)

Get-WMIObject Win32_Printer -ComputerName $env:COMPUTERNAME | where{$_.Name -like “*\\*”} | select sharename,name 

NOTE: The above cmd does no ...

Score: 0
Azvya Erstevan avatar
Does Laravel tend to be much more slower than Node JS?
uy flag

Does Laravel tend to be much more slower than Node JS? Or is it just me that doesn't know that Laravel have certain limiter or anything when runs in local machine (even though using production environment on the .env)

Let see this basic landing page of laravel starter page runs on both Node JS (Express) and Laravel 10.:

Laravel structure folder & NodeJS Express structure folder

Both renders the ...

Score: 0
rd1218 avatar
Stop exe from accessing internet - firewall blocks but DNS request is being made
mq flag

We purchased this software a few years ago, we use it locally only. After some update this software received the function to save user files on their cloud. For security purposes we would like to keep things running locally only.

The point is this software check if the computer has internet and, if positive, present a initial "create account / login" window. We would like to stop this behaviour. I ...

Score: 0
David Kiss avatar
AWS ApiGateway custom domain configured in us-east-1 not working in California
tk flag

I have a regional AWS ApiGateway instance configured in the us-east-1 region with a custom domain name (api.stage.aws.stckdapp.com).

It's working fine accessed from Toronto, ON, Canada, but for some reason the DNS resolution is failing when tried from San Francisco, CA.

Not sure if this helps, but I also configured an AWS Route 53 health check which is also failing frequently (in different regions all o ...

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.