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,728
questions
5
votes
7
answers
9k
views
Configuring a custom HTTPS certificate on a Netgear Switch (e.g. GS724T)
Since it’s quite annoying to get the invalid certificate warning every time I connect to my switch, I want to install a custom HTTPS certificate signed by a Certificate Authority my machines trust. ...
2
votes
2
answers
1k
views
How do I configure a virtual server in nginx to listen only on IPv6
For my website I need effectively 3 domains:
example.domain: accessible via both IPv4 & IPv6
ipv4.example.domain: accessible via IPv4 only
ipv6.example.domain: accessible via IPv6 only
I tried ...
0
votes
1
answer
241
views
Match different subpath in SSH config
I need to set a configuration for SSH keys related to the same domain but different subpath.
I'd like to have something like:
Host domain.com/sub1
Hostname domain.com/sub1
...
0
votes
1
answer
200
views
What is the proper way to configure Tripwire to handle automatic log rotations?
I installed tripwire by following this online documentation on a fresh ubuntu 22.x server. I followed the above documentation exactly and did not add any custom mods to either the cfg or the pol ...
0
votes
0
answers
111
views
Apache Server Config Set Headers Conditionally
I am trying to set cache age for 200 responses and no cache for rest of the calls.
I tried below config, which works fine when 200 OK response comes up and I can see max-age=800 in headers
But for ...
0
votes
0
answers
33
views
Reordering Apache Output Filters
Is there a way to reorder the output filters for Apache 2.4? I am forced to use something like this because DEFLATE runs before SUBSTITUTE:
AddOutputFilterByType INFLATE;SUBSTITUTE;DEFLATE text/html
(...
0
votes
2
answers
242
views
How to tell opendmarc to stop using opendmarc-import?
I'm running opendmarc with postfix under Debian linux. I did the standard Debian apt-based install of opendmarc, but later, I realized that it is apparenly configured by default to make use of ...
4
votes
2
answers
11k
views
How to use a variable in a regular expression in nginx?
I've spent some time trying to find the answer before writing this question:
I have several location blocks in my nginx config file that look like this:
location ~ ^/(doc|img|bla|foo)/metadata/$ { .....
0
votes
0
answers
171
views
Nginx Server Block Not Redirecting Properly
I've just recently swapped over to nginx from apache2, and it seems to be handling load times much better. However, I've now lost access to my forum subdomain. Whenever I goto my forum's subdomain, it ...
1
vote
1
answer
5k
views
ssh config file correct syntax of "Match host" vs "Host" to utilize actual address instead of nickname
My goal is to put in some common properties for a subset of the hosts in the config. The following two examples are close except for replacing a Host section with a Match section and destination host ...
1
vote
1
answer
5k
views
AH01114: HTTP: failed to make connection to backend: localhost
I know some of you might think that its a little bit off topic here, but am not sure whether its fault of server OR fault of my config file, so...
I made React.js project , but it needs server side ...
0
votes
0
answers
342
views
Stuck at Verify kubectl configuration
I'm using Mac Terminal and I'm stuck at the "Verify kubectl configuration", whereas when I run this command --> kubectl cluster-info as the result:-
E0331 23:39:48.601633 27402 memcache....
0
votes
0
answers
713
views
Unable to connect to local Fedora Samba share. What am I doing wrong?
New to networking. Created a samba share in Fedora Server. This samba share is supposed to connect to a raid0 pool (2x4TB WD Red) that I created. The mount point of the raid0 pool is /raid0pool.
The ...
0
votes
4
answers
1k
views
How to prevent virtual host from connecting to network?
We are discussing the potential of issuing standardized VM images to our staff to use when connecting to our corporate network from their personal computers.
Ideally they could run this VM on any ...
1
vote
1
answer
902
views
Not getting StrongSwan IPsec to run: received netlink error: Network is unreachable / unable to install source route for [...]. Getting nuts already
I am trying to set up an ipsec tunnel with strongswan, used some tutorials for that and all went so far but there is no actually communication going trough the tunnel. The tunnel is established, but ...
36
votes
3
answers
268k
views
How to stop Remote Desktop from closing my session due to inactivity?
I'm connecting from a windows vista desktop to a server running windows server 2003. I'm using Remote Desktop and I'm running some very long running processes on the remote server. My problem is that ...
0
votes
1
answer
179
views
Apache2 Default HTTPS 443 Vhost
I'm currently trying to make a default vhost for HTTPS to block traffic from unauthorized domains. However, when I define a default 443 vhost, ALL other HTTPS vhosts inherit this as well and prevents ...
-1
votes
1
answer
255
views
(PART 3) Docker environment for PHP Framework from scratch
i am runing this docker composer files with this enviroment:
version: "3.1"
services:
mysql:
container_name: mysql
image: 'mysql:8.0'
working_dir: /application
command: --...
12
votes
1
answer
28k
views
PostgreSQL pg_hba.conf problem adding a host?
I'm having a problem with configuring my postgresql server.
I've installed PostgreSQL 9.0.2 on slackware 13.1x64 and it runs fine but I can't add a IP that could connect to PostgreSQL remotely.
The ...
0
votes
0
answers
324
views
pread() returned only xxx bytes instead of yyy in config file [SOLVED]
I have a little question. I already found a solution, but I want to know the reason for the error.
So, I have a main config file (nginx.conf) that includes vhost configs.
Example hierarchical tree:
├──...
0
votes
0
answers
542
views
wireguard VPN configuration
I have a wireguard vpn configuration on my router, the ports are open and the server configuration I think is correct.
however when I want to connect a client, it only shows me this error:
[TUN] [...
0
votes
1
answer
225
views
How to make a mail server spam "proof"
I work for a German company that sends several thousand emails to our customers every day. Our employees send their emails via Microsoft 356, but the system does not use a mail server and sends emails ...
0
votes
0
answers
262
views
How to enable sudo and disbale sudo su on ubuntu 20.04
We need to capture user commands, on logs now the user has Sudo access. we have planned to disable sudo and they need to use sudo before the command. How to enable sudo and disable sudo su on ubuntu ...
0
votes
1
answer
1k
views
NGINX set root location not taken into account
This might be a silly question but I cannot set nginx to serve files from a folder in a custom location (ie outside the default root)
I am using nginx inside a docker container but this should alter ...
29
votes
6
answers
34k
views
How to use a custom .bashrc file on SSH login
I've found that with the new company I'm working with I often have to access linux servers with relatively short lifetimes. On each of these servers I have an account, but whenever a new one is ...
0
votes
1
answer
1k
views
"server" directive is not allowed here in /etc/nginx/nginx.conf:1
I have an NGINX docker container with a an nginx.conf file i copy into /etc/nginx/nginx.conf. When i start the container/server, i get the following error:
2023/02/15 16:24:10 [emerg] 1#1: "...
2
votes
2
answers
3k
views
cpan configuration wrong - how to change?
I seem to have misconfigured spam and am now trying to change it. I read elsewhere to remove /root/.cpam, which I did but that did not help to get me the initiation dialog.
When I type into the ...
8
votes
2
answers
14k
views
how to configure open ldap to work on localhost
From the documentation:
Use your favorite editor to edit the
provided slapd.conf(5) example
(usually installed as
/usr/local/etc/openldap/slapd.conf) to
contain a BDB database definition of
...
4
votes
3
answers
19k
views
nginx - could not build optimal variables_hash
For quite some time now nginx gives me this warning:
nginx: [warn] could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ...
0
votes
0
answers
120
views
Apache2 won't start even with unit file update post reboot
Issue : after server reboot apache2 won't automatically start (have to manually ssh and start via systemctl which starts without any issue)
Error message:
Feb 08 05:53:46 domain1_test.com systemd[1]: ...
2
votes
1
answer
2k
views
Liferay instance on server with apache httpd
I am a Java developer who was given a task of running Liferay Portal on a remote server (I do have an IP and root access). The server already has one instance of old Liferay and Apache web server. I ...
3
votes
2
answers
1k
views
Nginx is not handling auth_request before if statement
It's probably easiest to just show by example where I'm hitting issues, so I'll jump right in...
This snippet will work as-is for Nginx with rewrite/auth modules enabled. So hopefully this issue is ...
4
votes
2
answers
12k
views
Config squid for Windows with basic authorization, but squid still denied access after I input correct username/password
I installed squid-2.7-stable8 for Windows, try to let only authorized user can access the internet. But unfortunately after I entered username/password in client browser, squid still return HTTP 403 ...
0
votes
2
answers
303
views
Where is Defender CSP in Windows configuration designer?
I'm trying to create a provisioning package for test PCs and I'm having hard time finding Defender CSP in Windows Configuration Designer.
at first I downloaded Windows Configuration designer from ...
0
votes
1
answer
269
views
Can I specify an alternate port when importing a Data Protector Client
I want to import a Windows Data Protector client that uses (legacy) port 5555 into a Cell Server running 11.02.
When I try it, I'm offered the certificate to accept, but the I get an [12:1625] Import ...
10
votes
5
answers
47k
views
Is it safe to open port 3306 in Firewall for external MySQL Connection
I want to connect to a MySQL DB that is hosted with an ISP using something like TOAD, Navicat or HeidiSQL. I was told by the ISP that MySQL is listening on port 3306 but the hardware firewall is not ...
1
vote
0
answers
136
views
2 Samba Configs: "config file" Parameter Fails
I am attempting to create 2 separate shares using 2 very different configs. I can get both going individually from the same system, but not together. Regretfully, I still have some legacy systems ...
0
votes
1
answer
137
views
IP-Filtering on Apache-nginx-Combo
we have the request to secure a domain by restricting access to the ip-ranges of a WAF-Cloud. The server runs Apache for PHP and nginx as reverse-proxy-server, so the chain from browser to website is ...
0
votes
1
answer
251
views
OpenVPN and Iptable configuration - Forward Configuration
I got 2 VPS. The first one got OpenVPN and I need to access from my VPN to the eth1 on the second VPS.
VPS N°1
eth0-WAN
xxx.xxx.19.106
eth1-LAN
10.108.0.2/20
tun0 - OpenVPN
10.8.0.1/24
VPS N°2
eth1-...
1
vote
1
answer
1k
views
How to add nginx configurator group?
I want o create a user group that has permissions to create/edit/view nginx configs without sudo permissions, but I heve no idea how.
Creating a normal user group and setting owner:group to same-owner:...
1
vote
1
answer
391
views
NGINX Hosting multiple servers in same domain
I have a website being served by Nginx and I'm trying to do something that I don't know if it's possible the way I'm trying to do but the case is:
I have Application A and B made with React / Node.
...
1
vote
1
answer
595
views
NGINX: localhost redirecting to _
nginx version/1.18.0 (Ubuntu) — Ubuntu 22.04.01 LTS x86_64 kernel 6.0.8
I've got a server (install specs above) that has multiple host names, is running nginx, and everything is working (including ...
8
votes
2
answers
21k
views
Using nginx try_files with multiple directory trees
I'd like to have nginx handle requests to a specific directory by checking to see if that path/file exists in several separate directories. For example, if my directory root had the following:
images/...
0
votes
1
answer
21
views
CloudSQL Programming Language Support
I was told by a third-party vendor that Python, JavaScript, and potentially other programming languages cannot be installed on CloudSQL. I am trying to verify if this is true, and if so, why is this ...
2
votes
1
answer
2k
views
Nginx / git / fastcgi server not working
I set up all the needed components for a Git server on Nginx using FastCGI and followed the combined suggestions of a few tutorials to end up with this configuration:
server {
listen 80;
listen [:...
283
votes
7
answers
716k
views
command for checking Apache configuration
I'm looking for a command that checks the validity of the config files in Apache server on both Debian and RHEL distros. I need to do this prior to restart, so there will be no downtime.
2
votes
0
answers
4k
views
How to configure HSTS in Wildfly the proper way?
I want to set the HSTS header on Wildfly. I haven't found any specific method to do this, so my first approach would be setting it manually via an undertow filter:
<filters>
<response-...
0
votes
2
answers
128
views
Are there any potential pitfalls to changing the permissions of config files under /etc to a non-root user?
There are various services which are being run on our machines, e.g. cassandra, datadog, etc.
Occasionally, we need to change the configuration, and we wish to automate the propagation of the config ...
1
vote
0
answers
182
views
Change "Loaded Configuration File" for a specific domain [Not the entire server]
I do not want to make modifications to the default php.ini the server uses. I've made a new one to use, which is located in my site's own directory on an Nginx server. The issue I have come across is ...
1
vote
3
answers
883
views
Internet access problems on subnet
Hello Server Fault friends!
I have a question that I believe should be easy to answer for someone who really gets how a typical subnet should be configured with a router such as PFSense.
My Problem: I ...