Latest Server related questions

Score: 0
Kim Mỹ avatar
wordpress nginx in docker lost css styles, js because embed file hostname in html not updated
cn flag

We are trying to install wordpress on nginx on docker. The domain pointing to it is ssl enabled and when accessing the website, html is loading well but css, js, images are all lost.

The reason is html still using wordpress hostname(which i think only work locally on docker containers) to embed css, js, image files from docker container that running the wordpress image.

here where I inspect: https://i ...

Score: 0
Ravi Teja RVN avatar
how to add the expnded subnet mask for a private ip configuration in fortigate firewall
cn flag

I have been using fortigate firewall and the subnet mask is 255.255.224.0.

Now, our cloud provider are assigning new expanded ip pool subnet mask for the servers. that is 255.255.192.0 .

So, How to add this without disturbing the existing environment?

Score: 0
Alex avatar
GIT commands are taking 40 seconds on "git credential-manager get" with a call to an ADDC that is not responding, how do I disable this?
us flag

When users are on our corporate VPN they have 40 second delays in git calls (push/fetch/pull...) that having done a pcap are caused by calls to the ADDC timing out twice (20 seconds a piece). I am not sure what these calls are but they seem to be part of 'git credential-manager get':

14:18:45.904593 run-command.c:663       trace: run_command: 'git credential-manager get'
14:19:32.073092 exec-cmd.c: ...
Score: 0
228 avatar
Apache: I cannot set full cache header for text/html using htaccess
ro flag
228

I had a similar problem where I couldn't set the full cache header for JS and CSS files in my htaccess file, and it turned out I couldn't because the cache expiry was being set on the server and I had to add AllowOverride all in the vhost container to get it working, but I still cannot set the full cache header for text/html on a page. I can set the max-age using mod_expires in my htaccess file, but if  ...

Score: 0
Goural avatar
Terraform source Gitlab module
cn flag

I need help with sourcing terraform modules from a gitlab repository with multiple modules in it like ec2, vpc etc. I have two branches in module repo - develop and main. I tried all the ways below but got an error. I am sourcing something like below. I need ssh only, not https.

source = "git::ssh://[email protected]:repo_name/modules.git//ec2?ref=develop"
"git::ssh://[email protected]:repo_name/ ...
Score: 0
Apache2 VHost for subdomain
br flag

I configured several months ago my nextcloud on my Ubuntu 20.04.3 LTS VM running on my FreeNAS, following their tutorial so bear with me, I'm in no means a trained apache2 guru ;-)

My current VHost config for my nextcloud is as followed:

<VirtualHost *:80>
     ServerAdmin [email protected]
     DocumentRoot /var/www/nextcloud/
     ServerName cloud.domain.net
     ServerAlias www.cloud.domain.ne ...
Score: 0
randmin avatar
matrix-synapse delegation fails due to "No such file or directory" error on delegating server
in flag

I am setting up delegation on a synapse server. I follow the official docs and seem to have everything in place. I get the following error on example.com nginx logs when I enter the homeserver "example.org" in a client, that is supposed to delegate client traffic to "synapse.example.com":

[error] 28804#28804: *246 open() "/usr/share/nginx/html/_matrix/client/r0/login" failed (2: No such file or dir ...
Score: 0
What commands can I use to simulate letsencrypt adding the TXT field to my server?
cn flag

I'm trying to debug my DNS setup for the letsencrypt challenge.

I understand that BIND9 may not be receiving the requests, although it was earlier in the day. The .jnl does not get created, unfortunately.

What I'd like to know is how can I send a request from a remote computer to eventually see what fails on the other end. What does letsencrypt do to send us a TXT field update? What command line com ...

Score: 0
Pzhang avatar
How does F5 Bigip packets route inside/among its route domains?
td flag

How does F5 Bigip route packets inside/among its route domains?

I have an F5 BigIP device. On that BigIP, I create a test partition called test123, the route-domain, VLAN, self IP of that test123 partition. It is like below:

Phenomenon Description:


[root@bigip:Active:Standalone] partitions # cat test123/bigip_base.conf
#TMSH-VERSION: 14.1.0

net route-domain /test123/test111 {
    id 111
    strict ...
Score: 0
Surprise Awofemi avatar
How to Port Forward without routing Internet with OpenVPN
mx flag

How i install OpenVPN

I install OpenVPN on ubuntu server with https://github.com/Nyr/openvpn-install

How i achieve Port Forwarding

iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80:65535 -j DNAT --to-destination 10.8.0.2
iptables -t filter -A INPUT -p tcp -d 10.8.0.2 --dport 80:65535 -j ACCEPT
iptables -t nat -A POSTROUTING -j MASQUERADE

Problem I want to solve

What I want to do is only forward the  ...

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.