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.
561
questions with no upvoted or accepted answers
0
votes
1
answer
412
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 ...
0
votes
2
answers
1k
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 ...
0
votes
0
answers
2k
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 ...
0
votes
0
answers
76
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.......
0
votes
1
answer
1k
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>
...
0
votes
0
answers
3k
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. ...
0
votes
0
answers
338
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 ....
0
votes
0
answers
32
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 ...
0
votes
1
answer
406
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 ...
0
votes
0
answers
344
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 ...
0
votes
2
answers
278
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 ...
0
votes
0
answers
26
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 ...
0
votes
0
answers
2k
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 ...
0
votes
0
answers
63
views
Nginx Configuration update issue
Previously I was using a domain in my ubuntu VPS server. But currently, I do not want to use the domain in this server. I want to access this server using only IP address in port 80.
My server is ...
0
votes
2
answers
2k
views
How to edit the middle of host name (%h) in ssh config?
In ssh config you can easily edit a hostname by appending or prepending it with something. For example, when you want to connect to server with ssh test5, but actually the server name is test5.mail, ...
0
votes
0
answers
455
views
Apache cookie based site access
I store a single cookie in a file and want to retrict access to users who have that specific cookie set (with a specified name) and redirect others (from any page in the site) to my site's root. Since,...
0
votes
1
answer
359
views
Provide Unix Socket connection information for Apache Superset
I have a docker image of Apache Superset running in Google Cloud Run. I have configured it to use our Cloud SQL host for its metadata DB. Due to how you connect Cloud Run to Cloud SQL, this required ...
0
votes
2
answers
383
views
How to validate mariadb/mysqld configuration options while it is running
Is there a way to validate mysql.cnf files while mysqld is running?
If I run mysqld --validate-config, it just hangs, because there is already one running.
mysqld is scheduled to restart at 3am every ...
0
votes
0
answers
317
views
ansible.windows.win_package pass inventory machine details to msi arguments
I'm trying to install MSI file with the help of ansible.windows.win_package module
One of the arguments needs to hold the appserver machine name
Trying the following syntax - didn't work (I shrink ...
0
votes
0
answers
84
views
Extra trailing slash when re-directing www to non-www
This is my current configuration:
server {
if ($host = www.mywebsite.com) {
return 301 https://mywebsite.com$request_uri;
} # managed by Certbot
if ($host = mywebsite.com) {
...
0
votes
0
answers
157
views
Preventing redirects for file serving in apache
I am working with a specific proprietary (and no longer properly supporter) http client, and it has an issue of giving up on trying to download files if an http server throws a 301. I am using ...
0
votes
1
answer
188
views
Nginx not captures regex variables
Trying to capture URLs like http://mydomain/1234567890123 (13 digits)
location ~ ^/([\d]{13})$ {
proxy_pass http://127.0.0.1:4000/product?id=$1;
}
$1 variable arriving empty, ...
0
votes
0
answers
55
views
How to Reset the Configuration of a Netapp Disk Array?
I've acquired several Netapp disk arrays that have a prior configuration which needs to be reset, but I'm not entirely sure how to do this as it seems to require a connector that I've never seen ...
0
votes
1
answer
2k
views
What order does the sshd_config files use values for the settings MACs and Ciphers?
I am currently using MACs and Ciphers in my sshd_config. We have these settings being scanned for vulnerabilities.
I would like to know if the order of these settings matters at all?
Currently, they ...
0
votes
1
answer
634
views
AWS CloudFormation template - dynamically add multiple instances of the same object
I'm trying to create a CloudFormation template that'll include a ConfigurationAggregator. In order to aggregate data from other regions, the same template file should also define an object (one or ...
0
votes
1
answer
36
views
Openvpn rules between clients/users
I want create an openvpn network where:
there are clients with a certificate of type A, and they CANNOT communicate with each other
there are other clients with a certificate of type B, and they ...
0
votes
0
answers
335
views
NGINX - django subdomain proxy_pass keeps redirecting
I'm trying to add subdomain news.abc.com for my django application and forward it to example.com/news/
And NGINX keeps redirecting whatever i do.
My current config is
server {
server_name news....
0
votes
1
answer
5k
views
Correct default SSL config on apache
I have a number of virtuals hosts serving sites from apache. Each site has it's own config file and many have SSL certificates setup.
00_default.conf file <VirtualHost *:80> points to a static ...
0
votes
0
answers
490
views
Nginx 4th level domain wildcard redirect
I'm currently serving https on second and third level of my domain (wildcard) and also redirect all http traffic to https for these. Now I would like to serve 4th level subdomains with with http only, ...
0
votes
1
answer
424
views
nginx is redirecting the wrong site
I have Debian 10 and nginx. I have 2 sites defined in /etc/nginx/sites-available and /etc/nginx/sites-enabled. One site uses http and the other uses https. nginx keeps redirecting the http site to the ...
0
votes
0
answers
940
views
How to apply access control header to folders AND subfolders in Nginx
In my /etc/nginx/sites-available/default file I currently have blocks along the lines of
location /cdn
{
add_header Access-Control-Allow-Origin *;
}
which has worked well - up until now. ...
0
votes
0
answers
25
views
GLOBAL lockout of ALL external incoming access attempts
I have stripped down my /etc/services file to bare minimum (according to my awareness of what is needed) for a Linux DESKTOP configuration accessing remote services and offering no services to remote ...
0
votes
0
answers
286
views
nginx returns 405 on adding an empty if to a location block
Assume we have the following config ($branch is set before this snippet, but it's not related, I guess):
# If the request origin ends in .domain.com
set $allowed_origin "";
if ($http_origin ~...
0
votes
0
answers
1k
views
Squid Proxy Multiple Ports based different outgoing address configuration not working
I have squid Configuration in ubuntu 20 with multiple listening ports and each port has different outgoing address assigned by using "tcp_outgoing_address" directive. but In Ubuntu my ...
0
votes
0
answers
300
views
Apache2 / Cloudflare Error 521
My apache2 server encountered a error: "502 Bad Gateway".
I started using ExpressJS and this happened.
Im doing this because I need to use pug and other backend utilities.
Here is my apache2 ...
0
votes
0
answers
439
views
Nginx server give me 504 error
I am using nginx webserver on a WSL, Ubuntu. I have Magento need to run on this server.
Where or what I can do to adjust, so I can have 504 error fix? does my default doing the right job?
Please help
...
0
votes
0
answers
114
views
Single isp dual failover links
I'm having a problem trying to configure my cisco 3945 router to use a dual hand-off wan links.
Lets say the ISP has provided the below ip addresses where they are doing hsrp at their end
ISP EDGE 1 ...
0
votes
0
answers
1k
views
How to config nginx for i18n localize to serve app with langauge param?
I do have a angular application serving different languages e.g. en and es.
With the pervious angular versions 8.x, I had following nginx.conf to serve the correct app based on the param language in ...
0
votes
1
answer
186
views
NginX PHP in a second level subdir
I got a Laravel installation in /srv/http/v1. The index.php is within /srv/http/v1/public as usual with laravel. It is nginx running with php-fpm.
It should be mapped to this second level subdir app....
0
votes
0
answers
2k
views
Populating differently sized DIMMs in HP ProLiant DL380 Gen10 server
Trying to build an HPE ProLiant DL380 Gen10 server with a mix of HPE 16GB and 32GB DIMMs.
I've read the Server Maintenance and Service Guide, the Server User Guide and the Server Memory Population ...
0
votes
1
answer
40
views
NGINX Config Part of WordPress site shall be accessible only via separate domain name
I have one WordPress installation on an Ubuntu 20.04 NGINX server. Most of the WordPress pages shall be accessed via the main domain example.com, but one section shall only be accessible over the ...
0
votes
1
answer
164
views
Which steps to follow in order to make configuration of NAPTR records in ejabberd
I am newly in network and programming. I want to configure Sip in ejabberd.
After I added ejabberd_sip listening module in ejabberd.yml as recommended in
the documentation the next step is described ...
0
votes
0
answers
366
views
Command FFMPEG works if runned from terminal but not from NGINX
i have a code like this
/home/ubuntu/bin/ffmpeg -re -v verbose -i rtmp://localhost:1935/live/title_event \
-http_persistent 1 -http_user_agent Custom-agent -vf scale=w=640:h=360:...
0
votes
0
answers
208
views
Nginx Config with multiple vhosts and general part for every hosts
I have several subdomains in one configuration file.
I was wondering if is there a way to set a general configuration part for every hosts and then configure each host separately.
Like I have this ...
0
votes
0
answers
3k
views
Fallback to forwarding with Unbound?
I'm using Unbound on an internal network What I want it to do is as follows:
If a local_zone matches, return from there
If not and it matches the internal domain name, then try forwarding to Consul ...
0
votes
0
answers
1k
views
redirecting from an alias url to main url with nginx
I have a site running on Laravel Forge that has a primary domain of example.org and then an alias of myolddomain.com
This means that content is available at both. I'd like to make it that if someone ...
0
votes
1
answer
2k
views
Cisco router configuration for pppoe dhcp and nat
I am trying to set up a cisco 2800 series router in my home lab. yes its old, but cheap enough to play around with.
So I am coming up against a problem configuring the router.
I can ping out to the ...
0
votes
1
answer
114
views
Force Nginx to create a new process for each request
Nginx reverse proxy send and receives requests from client to a defined port, that usually is a process that responds to requests the thing is if for one of requests the process crashes the whole ...
0
votes
0
answers
360
views
Failing to Start MariaDB on Ubuntu 18.04 - missing SSH key or bad login information?
I have just installed MariaDB on a new Ubuntu 18.04 box. When I attempt to start the server, I get this:
sudo /etc/init.d/mysql start
[....] Starting mysql (via systemctl): mysql.service
Job for ...
0
votes
0
answers
177
views
Sendmail sends everything except for mails with recipients of the same domain
I am using the following setup.
The client's DNS is pointing to Hostgator, but the client wants to test if his site runs faster on DigitalOcean. So the only DNS records I am pointing to DigitalOcean ...