Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
26 views

Getting SERVFAIL / NOTAUTH on Zone Transfer - ISC BIND 9

I have two BIND servers running BIND 9: BIND 9.11.36-RedHat-9.11.36-3.el8 (Extended Support Version) <id:68dbd5b> running on Linux x86_64 4.18.0-372.9.1.el8.x86_64 #1 SMP Tue May 10 08:57:35 EDT ...
user avatar
  • 11
1 vote
1 answer
14 views

nginx one site redirects to another

I have couple domains on my server. There is wordpress multisite and vanilla php site. All WP sites are working correctly but if vanilla php site redirects to main WP site. Here is config of main WP ...
user avatar
  • 13
1 vote
1 answer
38 views

Wireguard Client Addition without restart

I am building a Wireguard VPN network, in which I want to add and remove peers on the server without restarting the service or losing connections with existing peers. Tried searching for the results, ...
user avatar
1 vote
1 answer
15 views

Apache2 - How to serve static files on a specific folder?

I have 2 virtual hosts serving 2 different sites in my Ubuntu Server 20.04 both in port 80 and 443. I want to use the same server to serve some static files for download on a custom port, let's say ...
user avatar
0 votes
0 answers
21 views

NGINX - reverse proxy but one subfolder to static local directory

I'm having trouble figuring out the basic syntax for proxying most traffic to a local Solr install but leaving one path/dir requests being sent to a static html directory. Do all secondary, tertiary, ...
user avatar
  • 591
0 votes
0 answers
20 views

nginx proxy_pass change target domain in requests and responses

My Problem is: I have a server with an internal domain name service.internal.example.com which redirects all clients asking for another domain to its FQDN https://service.internal.example.com. This ...
user avatar
  • 1
0 votes
0 answers
20 views

Load balancing apache 2.4 ProxyPass configuration meaning

I'm studying apache 2.4 and I've found this configuration as example. What I don't understand is the definition of ProxyPass, they have defined "balancer://cluster/example1/api" but in the ...
user avatar
  • 1
1 vote
1 answer
17 views

Configuring Postfix to Restrict User Access to the Postfix "Sendmail" Command

Reading at http://www.postfix.org/postconf.5.html#smtpd_relay_restrictions, we see that, by default, network mail relay access to postfix is restricted to "local" or "authenticated"...
user avatar
  • 21
0 votes
0 answers
35 views

Why does Nginx only respond on Port 80?

I tried to change nginx' port 80 to 81 in nginx.conf file but my sample site is not responding despite listening to port 81. The sample website only responds on port 80. Also , sample site on http://...
user avatar
0 votes
0 answers
14 views

How to configure Postfix to return enhanced response code

I'd like to return by Postfix 550 5.1.1 for some specific domains. I followed the manual and created the access file, with a single row: baddomain.com 550 5.1.1 The 550 is returned, but instead of 5.1....
user avatar
0 votes
1 answer
25 views

isc-dhcp-server ip-range speicifc domain-name-server

I'm trying to get an isc-dhcp-server configuration to use different DNS-Servers based on the ip-address assigned. Basically, I want some of my client marked as not-trusted, which then may not access ...
user avatar
  • 103
1 vote
0 answers
26 views

Conditional directives based on User-Agent with Apache 2.2.x?

I want to implement something like the following in our Apache httpd configuration: <If "%{HTTP_USER_AGENT} !~ /something/"> RemoveEncoding .gz .tgz AddType ...
user avatar
  • 111
0 votes
0 answers
7 views

disregard traffic in config file OpenVPN

i want to disregard the traffic of the openvpn config file. I want to when i connect to the tunnel , I stay in the default gateway without entering the tunnel
user avatar
1 vote
0 answers
68 views

Apache: <LimitExcept POST> not working (in .htaccess)

I am trying to set some controls in Apache via the .htaccess. This works: <LimitExcept GET> Order allow,deny Allow from all Deny from all </LimitExcept> while this does not: &...
user avatar
0 votes
2 answers
67 views

Unable to connect to my self hosted cloud MQTT broker

I have followed the instructions to configure Mosquitto on CentOS 7, provided by digital ocean. I believe I have most of the stuff set up correctly, I was able to follow all the instructions with some ...
user avatar
0 votes
1 answer
37 views

Nginx server blocks not redirecting

I am working on a project at https://modernamedia.no/ and I am trying to do a multiple of things redirect all calls to www.modernamedia.no to https://modernamedia.no/ proxypass localhost:5000 to api....
user avatar
  • 103
1 vote
0 answers
53 views

Can't make Vmware ESXi 6.7 LAG on top of Dell VLTi port-channel

So. I've configured dell 5212F switches with 2x100G ports into VLTi domain. For some reason - when I run show vlt 10 mismatch it show that both of switches have no roles. But they appear as should in ...
user avatar
  • 41
0 votes
1 answer
63 views

Nginx locations configuration

I have config location ~ \.(pdf)$ { expires 2h; } location / { ...backend rules... } Now I want the first block to be executed only for really existing pdfs, otherwise the request would be ...
user avatar
  • 3
0 votes
2 answers
59 views

haproxy: close or change port 80 of stats page

The http-port has to be available for another usage. Port 80 of the stats-page has to be closed or moved to another port. Removing mode http in the default section disables the page. echo >/dev/tcp/...
user avatar
  • 3
0 votes
0 answers
233 views

100% CPU usage from iowait caused by Nginx, not solved by turning sendfile on and directio off

I run a webservice that performs some basic image processing operations. The webserver first accepts image uploads from users and temporarily stores them. A backend server then downloads the image ...
user avatar
0 votes
0 answers
68 views

Redirect certain url path from wordpress to another root using nginx

It's a pretty simple question, yet I can't find a working answer. My project is Wordpress (http://example.com/). Under a certain path (http://example.com/see-our-page) it should be redirected to ...
user avatar
  • 1
0 votes
1 answer
158 views

Is it possible to set proxy header in NGINX using variable for the *header name*?

According to the NGINX documentation proxy_set_header field value allows redefining or appending fields to the request header passed to the proxied server. The value can contain text, variables, and ...
user avatar
1 vote
1 answer
66 views

Can a server offer more than one TLS certificate?

Let's say I have a TLS certificate for a domain but I'm not sure if all user agents potentially connecting over HTTP would accept it. Can I obtain another certificate, signed by another certificate ...
user avatar
  • 133
0 votes
0 answers
37 views

Server-side includes for PHP files in virtual folders using nginx

I am able to to an include on any filetype if the folder the file is in is non-virtual. If it is a virtual directory using the include directive for example, it does not work on the PHP files: ... ...
user avatar
0 votes
0 answers
30 views

All subdomains except mail domain work, is there something I need to change?

I recently started hosting a website with Apache with friends and made a few subdomains for each persons' area. I did the DNS records and all of them work and reverse proxy to the correct subdomain.......
user avatar
1 vote
2 answers
50 views

Prevent Nginx regex rule to override another rule

I have a Nginx server acting as a reverse proxy for a couple services, the config is similar to this one location /backend/service1 { proxy_pass http://pathto/service1; } location / { ...
user avatar
0 votes
1 answer
29 views

Apache <Location> tag for couple of options

I want to set couple of Location tags in my Apache config. For instance: /image, /file, /audio and to pass it to localhost:port/path. Right now I'm using this for /image: <Location /image> ...
user avatar
0 votes
1 answer
80 views

Lighttpd URL and host matching and include-file spanning (is it possible?)

I have an interesting condition resolution problem to resolve and have not had luck with on-line searching and looking through documentation for lighttpd yet. Many of those searches led to similar ...
user avatar
0 votes
2 answers
89 views

Serve nginx's autoindex under different path

I've run into the issue that I would like to enable nginx's autoindex for some directories but those also having their own index files. So I was wondering if there was a way to make nginx serve it's ...
user avatar
0 votes
0 answers
20 views

Consul higher performance of a single server than a cluster?

We're using Consul v1.11.1 KV to store some read-mostly data(about 50 bytes per key) . I'm doing performance test on Consul get recently. Frist I use a single server(8CPU Cores,2.4GHz; 16GB RAM; 300G ...
user avatar
  • 1
0 votes
0 answers
339 views

Using multiple Match Group with Windows OpenSSH

Trying to configure the sshd_config to restrict depending on which AD group you belong. The goal was to have it that when you connect it would ChrootDirectory to the only directory you had access to. ...
user avatar
0 votes
0 answers
57 views

Host Header Redirect to another domin when Host is changed to another domina in HTTP Request

Click for the image of issue for HOST Header Redirect Please Refer to the image The issue arise only on 302 and 301 Redirect request On Apache Server. What i did is selected one 302 and 301 redirect ...
user avatar
0 votes
0 answers
97 views

Change nginx temp & log folder on Windows

I installed nginx on Windows but when i execute it from a directory that's different from the folder that resides nginx.exe i get the following error: nginx: [alert] could not open error log file: ...
user avatar
-1 votes
1 answer
35 views

Home Server Setup Questions [closed]

I think I'm on the right Stack for this question So, I've been self-hosting a web server from my home. And recently I've started to see ;'s being included in some request. Trying to, I assume, access ...
user avatar
0 votes
2 answers
148 views

How can I use regex for hostname in ssh_config?

So, my local address keeps on changing on my Lan. Can't change the dhcp settings. Addresses are all like: 192.168.A.x, 192.168.A.y, 192.168.A.z. When I switch off the dhcp server, next time it gives ...
user avatar
  • 113
0 votes
0 answers
27 views

How to define a common location once in NGINX and share it across multiple server blocks?

I have several server blocks, each one corresponds to a different domain. All of them share a common location that has the purpose of renewing SSH certificates (for those familiar with this, it's the ....
user avatar
  • 119
0 votes
1 answer
188 views

Module ngx_http_realip_module and how to set_real_ip_from

I have a very basic question about Module ngx_http_realip_module. I checked the documentation and I saw this example: set_real_ip_from 192.168.1.0/24; set_real_ip_from 192.168.2.1; set_real_ip_from ...
user avatar
  • 123
0 votes
0 answers
22 views

Sessions lost on specific network only

NOTE: My apologies - I am not a server admin, but I have a problem that I believe may be server related, or combination of server and network related. I do not have too much technical information ...
user avatar
0 votes
1 answer
227 views

Postfix transport map with failover entries?

Postfix relays a few domains to a fixed IP address, or its failover address. 1.2.3.4 and 11.12.13.14 (failover) These two IP addresses are where the relay should occur. Currently, transport_map ...
user avatar
  • 5,378
0 votes
1 answer
27 views

Optional sysctl configuration parameters

I am working on some automation that sets linux kernel parameters using sysctl. Specifically I am creating a template that can be deployed to systems with a high amount of connections. The automation ...
user avatar
0 votes
0 answers
32 views

How to use hostnames in smtp_bind_address in Postfix configuration?

It seems that Postfix does not allow hostnames in the smtp_bind_address config parameter. But it does allow hostnames in inet_interfaces. For SPF I want to make sure which address SMTP-clients bind to ...
user avatar
0 votes
0 answers
33 views

Nginx not loading usernames

Good day, on my site users, can create usernames for their profiles but every time they try to visit their usernames on the browser to shows a 404 page, and on top of that it does not show the defined ...
user avatar
1 vote
1 answer
19 views

Questions about Debian OpenDLAP configuration

I have the slapd/stable,now 2.4.57+dfsg-3 amd64 Debian 11 package. I read the official OpenLDAP documentation and Debian article. But I cannot understand the difference between the multiple ...
user avatar
0 votes
0 answers
42 views

Nginx downloads me PHP files instead of executing them

I am using Nginx for my web server, but when I go to a PHP page it downloads it to me. I realized that my pterodactyl panel (which is in php) was still working, so I used the fastcgi and other parts ...
user avatar
  • 1
-1 votes
2 answers
59 views

Mac can be arpinged but not pinged

Why does Mac OS X and Linux do not ping each other on a local Ethernet Network? Edit 2012-12-14 (ten days latter) adapter FireWire to Ethernet RJ45 might be the problem (on MacBook Pro Retina early ...
user avatar
0 votes
2 answers
40 views

How to make nginx receive and send data to both server1 and server2?

I have nginx as reverse proxy. I want to send data to both server, not just one not load balancing (just send data that it receive from port 80 to server1 and then server2). Server1 will be a web ...
user avatar
  • 1
0 votes
0 answers
20 views

DNS best practice for large resilience orientated org

I have been asked to investigate the resiliency of our DNS and it's config. What's the industry best practice around this? The following have been suggested: the DNSAdmin group (which is usually ...
user avatar
0 votes
0 answers
19 views

Installing Magento in a subfolder i.e., example.com/magento

Prerequisites were successfully installed. I installed Elastic Stack on Ubuntu 20.04 LTS. I followed all steps on this link (up to #2. Install and Configure Kibana on Ubuntu which I did not need). No ...
user avatar
  • 123
0 votes
1 answer
66 views

Is it OK, to use iptables SNAT rule with inverted -o parameter?

Would it be OK/reliable, to use just one rule?: iptables -t nat -I POSTROUTING ! -o eth2 -s 192.168.10.0/24 -j SNAT --to PUBLIC_IP_ADDRESS The BGP linux router has 25 ethernet interfaces. This ...
user avatar
0 votes
0 answers
235 views

Configuration of enp0s3, enp0s8 interfaces on Centos

I'm looking forward for assistance to configure interface enp0s3 which shall be used for client connection. As well as enp0s8 interface which one is dedicated for administration purposes. Currently ...
user avatar

1
2 3 4 5
53