Questions tagged [configuration]
Configuration is a general term that can refer to the arrangement of functional units according to their nature and characteristics. Also, it can refer to software configuration which more suitable for server-related topics.
2,735
questions
0
votes
0
answers
25
views
convention for http blocks in the new nginx configuration file convention
I have been using and installing nginx from ppa:ondrej/nginx on Ubuntu
In the /etc/nginx/conf.d folder I have several configurations in the http block such as log format, geoip2, etc. so that they can ...
0
votes
0
answers
42
views
How to prevent Windows asking for a proxy when setting up Windows
Our environment has settings so that users do not need to use a proxy. We want to stop automatically asking for a proxy in Windows setting (security).
I've searched all over the console and MMC, but ...
0
votes
1
answer
74
views
nginx configuration for subdirectory based php websites on different php-fpm pool
I'm trying to configure my nginx server to host two php websites (with their respective php-fpm pool) on the same domain:
one on the /
and one in the /nextcloud/ subfolder
I want that each website ...
0
votes
0
answers
76
views
NGINX - Unable to set `proxy_max_temp_file_size` greater than 1024m
I am using NGINX on Windows as a reverse proxy to a library endpoint. I want to increase the value in the proxy_max_temp_file_size directive to serve some of my larger libraries.
However, setting ...
0
votes
0
answers
49
views
Why publishing a asp.net core version 8 application I get the error about the web deploy provider and dbFullSql
When publishing I get the error
C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk.Publish\targets\PublishTargets\Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): Error : Web deployment task ...
0
votes
0
answers
15
views
Redirect if not serving a PHP file
Consider these files on-disk:
/dir/index.php
/dir/page.php
/dir/index.html
/dir/image.jpg
Consider these desired outcomes:
https://www.example.com/dir Serve index.php
https://www.example....
1
vote
2
answers
59
views
Why do SSH config declarations stop executing when using SCP?
I am using OpenSSH config's "Match...exec" feature to conditionally connect to AWS EC2 instances via a tunnel. I have been building upon https://gist.github.com/Maks3w/...
0
votes
0
answers
49
views
OpenStack ovs: Multiple rows in Manager patch "ptcp:6640:127.0.0.1"
While setting up OpenStack following the instructions on https://docs.openstack.org/2024.1/install/ I encounter an error on the netron-ovs-agent service. It wont start and shows the error message
...
0
votes
1
answer
60
views
How to build an nginx conf to accommodate wildcards in location?
I have a server and 2 locations. The proxy_pass is the same for both but I need to pass a different header
server {
location ~ /deployments/*xx*/ {
proxy_pass $uri;
proxy_set_header ...
0
votes
0
answers
120
views
NGINX proxy pass not working with Laravel application. No routes other than / can be accessed from proxy domain. Gets a 404. How to solve?
I have a Laravel 7 application running on a separate server, let's assume it is SERVER A with domain serverA.com. The application is behind NGINX.
I have another server, SERVER B. I want to proxy pass ...
0
votes
1
answer
145
views
OpenVPN client 2.4.4 cannot connect to OpenVPN server 2.5.1 [closed]
I have OpenVPN 2.5.1 on Debian 11 VPS, and OpenVPN 2.4.4 on my Linux PC client. I cannot connect to VPN server from my Linux PC by using this client.ovpn file.
TLS Error: TLS key negotiation failed to ...
1
vote
1
answer
139
views
How to Configure hideAnnouncements in kibana.yml?
In Kibana's GUI settings page, there is an entry called "Hide announcements" with the field named hideAnnouncements.
The URL path for this page is /app/management/kibana/settings
Then in the ...
0
votes
0
answers
59
views
How does one configure nginx for whitelabel solution?
I am trying to implement a whitelabel solution for my clients where they use their own domain or subdomain that is pointed to my server IP to serve my application.
For example:
subdomain.anydomain.com ...
0
votes
0
answers
232
views
nextjs web app with nginx as reverse proxy, slows down after login
My nextjs based app deployed in AWS EC2 with nginx as load balancer/reverse proxy slows down after a while (say after 5 min) specially if the user is logged in.
I am using http only 2 cookies to ...
0
votes
1
answer
488
views
Nginx Proxymanager "map" directive is not allowed
I'm in the process of deploying my Django project right now, I have a server on digital ocean and I'm setting up and nginx proxy manager. I have added the SSL certificate for Portainer, and when I add ...
1
vote
1
answer
56
views
Specifying Dynamic filenames for AIA and CDP in CAPolicy?
In the "CAPolicy.inf" file where you define [AuthorityInformationAccess] and [CRLDistributionPoint], can these sections use dynamic values? For instance:
[CRLDistirubtionPoint]
URL="...
1
vote
1
answer
91
views
sql server max memory change event viewer log
In the Windows Event Viewer application, I see a record that the maximum memory value of SQL Server is reduced by 99%. After this process, we could not access the database from anywhere.
How can we ...
0
votes
0
answers
29
views
How can I find out how Apache makes certain decisions?
As my Apache configuration gets more and more complex and there are many moving parts, it can be tricky to debug problems. Right now, I have a setup where a certain virtual host setup generates a 301 ...
0
votes
0
answers
144
views
How can I change the cipher suite on wpa_supplicant
I started to use wpa_supplicant to configure a MacSec connection with another computer, the problem is that there are several options that I do not find in the template of wpa_supplicant.
https://w1....
0
votes
1
answer
198
views
Cannot figure out which NGINX config file is being used
Inside /etc/nginx/sites-available, I have a config file example with the following configuration:
server {
listen 443 ssl;
server_name php1.example.com php2.example.com;
ssl_certificate /...
1
vote
0
answers
24
views
Microsoft Configuration Manager Issue
I cannot join the primary site to an existing hierarchy while installing Microsoft Configuration Manager. SQL and the SCCM Server are connected. Am I doing something wrong?
0
votes
1
answer
225
views
How can I prepend the sender IP on each line in Rsyslog, using the newer template() syntax?
I've run an rsyslog server at our organization for a decade or so now. When we get a new device we want to centralize the logging for, we point it at the rsyslog server's IP address and away it logs.
...
1
vote
1
answer
83
views
Monit: exec a command but don't alert
I use monit to start a program when a webserver is not accessible.
.monitrc:
check host MyServer with address MyServer
if failed port 80 protocol http then exec "/home/michael/monit/...
0
votes
1
answer
70
views
nginx always routes to first domain
I just had to setup my dev server (ubuntu 22.04 in case it matters) to get the networking adapter to work again; unfortunately forgot to backup my domain configurations.
I have three server blocks, ...
0
votes
1
answer
149
views
Why dovecot use "postfix_accounts.users" to retrieve mail user information after username/password auth?
I had set up a mail server in my Rocky Linux 9.1 that comes with postfix, dovecot and mysql (refer to https://computingforgeeks.com/how-to-setup-mail-server-on-centos/).
Every thing is updated. (...
0
votes
0
answers
112
views
/~ URL pages will not load, but full path /.../..../ will load - security issu
I am pretty new to Apache - New sys admin that inherited a broken server and I've been slowly making it work.
We have the default directory that is hosting staff webpages and is working normally.
The ...
0
votes
0
answers
107
views
NGINX + Wordpress Config: Install Wordpress under subfolder but with a separate root?
I have a problem which I came close to solving but last step failed me.
I have a WP install at www.example.com on Ubuntu/Nginx I have no issues there, I also wanted to have another installation for ...
0
votes
0
answers
143
views
IIS Always Running Mode and Idle Time-Out
There's probably a pretty easy answer to it but I'm confused about the effect of "idle time-out" when we set the start mode to always running on IIS. Shouldn't the always running, prevent ...
0
votes
1
answer
1k
views
How do I make `ctr image pull` always use a custom `--hosts-dir` without specifying it in the command line?
I've got a custom file in /etc/containerd/certs.d/registry.at.my.company/hosts.toml that has some configuration set up for a local registry container running on my servers. This is working fine when I ...
0
votes
0
answers
165
views
I have enabled authentication and still can connect without username and password to MongoDB
I have the following in my /etc/mongod.conf:
# set parameter options
setParameter:
enableLocalhostAuthBypass: false
# security options
security:
authorization: enabled
#keyFile: replace_me
I ...
0
votes
0
answers
58
views
Trying to use HTTPS to multiple host ports
I'm trying to configure Nginx to serve my application on both port 443 and 5501 with SSL. I have the following Nginx configuration:
upstream pixel {
server pixel.example.com:8080 weight=1;
...
0
votes
0
answers
305
views
Wireguard with VPS for mobile clients for all traffic routing
I have been trying to configure Wireguard as a VPN for accessing my home network which partially I have been successful. But I still am experiencing problems when trying to make two things happen.
I ...
0
votes
0
answers
387
views
Traefik proxy splitting dynamic config file
i have questions about config files in Traefik. I would like to split my dynamic config file into multiples based services files.
_ The setup
I have a proxmox instance running a pfSense VM. All ...
0
votes
0
answers
274
views
RAID 6, SSD Cache, Journaling, mdadm, LVM, Filesystem Strategies for Data Resiliance
I'm replacing a NAS server thats been in loyal service for almost a decade now. It will be repurposed as my offsite backup, but now I'm setting up a new NAS from scratch for homelab and need some ...
1
vote
1
answer
242
views
Swap file is not recognized by the Ubuntu server
I've noticed that my Ubuntu server is using smaller swap file then there is available.
swapon shows 9GB swap file, but other commands show 1GB swap file
Some outputs:
swapon --show
NAME TYPE SIZE ...
0
votes
0
answers
45
views
nginx routes to wrong domain (most of the time)
I have an nginx set up with four domains, including phpMyAdmin; and everything has been working finde until lately. Actually, I found out today, while I was running the updates on the machine (Ubuntu ...
0
votes
0
answers
169
views
How do I set the timeout for the static health check of a Balancer Member of an Apache reverse proxy
I am trying to configure a reverse proxy. I currently have
<Proxy balancer://myset>
BalancerMember http://IP1:80 retry=4
BalancerMember http://IP1:80
Balancermember http://IP3:80
...
0
votes
0
answers
71
views
Change Xorg Config Based on Graphics Configuration
Basically, we have a single OS that gets NFSRoot mounted everywhere, but the hardware being used can vary. We have a few different dual screen setups, some go through DVI KVMs and some go through DP ...
0
votes
1
answer
668
views
Pubkey authentication not allowing to enter the server
I'm trying to access my server through SSH using pubkey authentication, but it's not working and I don't understand why. I've been around this same issue for 2 days now.
I'm using Ubuntu 20.04. All I ...
0
votes
0
answers
85
views
How to change the batch size of pcp in linux kernel?
I increased the pcp->high via echo 8 > /proc/sys/vm/percpu_pagelist_fraction command, but the pcp->batch value still remains at 63.
vm stats threshold: 125
cpu: 383
count: 103931
...
0
votes
0
answers
65
views
EUI Edge Router Load Balancing and Failover error
I unfortunately still have the problem that the Edge Router for some reason all the time uses VDSL and cellular at the same time without reason, although everything is configured as a failover so that ...
1
vote
1
answer
84
views
What does `static:rest` in the Postfix configuration mean?
In the Postfix configuration line (main.cf)
smtp_sasl_mechanism_filter = !ntlm, static:rest
what is the meaning of “static:rest”? While static: is explained in Postfix’ documentation as yielding the ...
0
votes
0
answers
397
views
Sudo validates command line arguments via regular expression incorrectly
Let's say we have two users: alex and alexa. We want to allow alex to execute htop as root in order to see disk usage stats, but we do not want them to see other users' processes which root can do. ...
2
votes
0
answers
90
views
Docker Postfix Admin bulk aliases, custom maps, and custom config files
I'm in the process migrating my bare metal postfix implementation over to docker to essentially upgrade my old box to a more docker/vm-centric server and hopefully add virtual domain support. I'm ...
0
votes
1
answer
316
views
Aide Does not Write aide.db After Successful Scan
I have installed aide on Ubuntu 22.04 and left the default configuration.
After it ran, I got an email report that indicates that everything went smooth. See the report below.
The /var/lib/aide/aide....
0
votes
1
answer
652
views
host not found in "$server_listen_port" of the "listen" directive
With the following nginx config excerpt:
map $server_name $server_listen_port {
default 443;
localhost. 80;
localhost 80;
}
server {
server_name "${ENVIRONMENT_SERVER_NAME}.&...
0
votes
0
answers
651
views
One nginx config for both local dev and production
I have a website with the following architecture:
Many services running as part of a docker stack
Fronted by single nginx as reverse proxy
nginx does HTTPS termination with certbot
Developed locally ...
0
votes
1
answer
1k
views
Disable TLSv1.0 and TLSv1.1 when generating certificates using openssl 1.1.1
I am struggling to implement a feature for my certificates. I am generating my certificates with OPENSSL 1.1.1.
I want to allow only TLSv1.2 and TLSv1.3. The other protocols should not be possible (...
0
votes
0
answers
408
views
In NGINX, is there a directive to limit the time it takes to establish new client connections?
In Nginx there's the client_header_timeout directive that sets a timeout for receiving the complete headers of an http request from a client. In the docs it is not specified if this timeout includes ...
0
votes
1
answer
132
views
BIND "notify" packages over NATted networks possible?
I got a very specific issue: We got two DNS servers with networks being NATted to each other. Example: DNS master has 192.168.1.1 and it's NATted to another subnet 192.168.2.x using the gateway 192....