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.

learn more… | top users | synonyms

0
votes
1answer
7 views

Secure ejabberd: protocol options and ciphers setting has no effect

I try to secure my ejabberd by configuring openssl ciphers like this for s2s communication: {s2s_use_starttls, required}. {s2s_certfile, "/etc/ejabberd/mycert.pem"}. {s2s_protocol_options, ...
0
votes
1answer
26 views

Nginx proxy_pass not normalising URL

I have the following config for an angular frontend on / and a node.js backend on /api/: server { listen 80; server_name example.com; location / { root /home/ubuntu/www/admin; ...
0
votes
0answers
8 views

One web application with a lot of web configurations

We have a web application, installed several times on different servers each time with a different configuration file. These configurations files change the behavior of the web application and right ...
-1
votes
0answers
16 views

How to use lets-encrypt certificate to enable TLS for ejabberd? [on hold]

I setup ejabberd on my server with a self generated certificate (ejabberd does this itself). I want to use a certificate issued by letsencrypt. How can I do that (and automate renewal)? How does ...
1
vote
3answers
36 views

Nginx: Access same content from multiple URLs

I'm trying to configure nginx so that the same static content can be accessed through two different URLs without any redirects. For instance, if the client enters /path/to/A in their browser, I want ...
-1
votes
0answers
14 views

Dovecot: set up virtual subfolder on a public namespace folder, how?

I have a public shared folder namespace configured namespace { location = maildir:/secure/home/mail/project:INDEX=/secure/home/mail/%n/project prefix = Project. separator = . subscriptions = ...
1
vote
0answers
19 views

Monit “check program” and restart based on exit code

When I use check process, monit will start the program I define under start program then monit will restart it if it stops. But when I use check program monit will not automatically start it. If the ...
1
vote
2answers
19 views

In an apache ServerAlias directive, what does a question mark mean?

Apache's documentation says: The ServerAlias may include wildcards, if appropriate. and The wildcard characters * and ? can be used to match names My colleague claims that the question ...
-1
votes
0answers
11 views

Php-fpm pools configuration for multiple websites in Centos 7

After following this tutorial for installing Lemp on Centos 7, I decided to host multiple sites on the same Virtual Server. Using Nginx i created a server block for each site, and everything worked ...
0
votes
0answers
14 views

How to restore with Duplicty if Temp space has 0 available?

Normally this command works properly for restoring: duplicity restore -t7D --file-to-restore folder/to_restore file:///where/is/the_backup/ /where_to_restore --no-encrypt But today I am having this ...
0
votes
1answer
22 views

Preloading Strict Transport Security (HSTS)

I configured my webserver to use Strict Transport Security (HSTS). I more or less used a configuration as in this manual. But I get the following in my SSL-report if I run a test on Qualys SSL LABS: ...
0
votes
0answers
13 views

Remove IIS configuration setting using AppCmd without clearing the entire section

I am using the following appcmd to add an autoStartProvider to the list of autoStartProviders: appcmd.exe set config -section:system.applicationHost/serviceAutoStartProviders ...
0
votes
0answers
12 views

What is the correct way to generate /etc/audit/audit.rules on Centos7?

At the top of /etc/audit/audit.rules on Centos7 it tells me: ## This file is automatically generated from /etc/audit/rules.d Okay, so I went and looked, and found /etc/audit/rules.d/audit.rules. It ...
2
votes
1answer
31 views

Security implications when only allowing logins via key and UsePAM setting is 'yes'?

When setting up a new server, I generally want to allow logins only via key authentification and not from the root user. Therefore, I edit the sshd_config like this: I change 'PermitRootLogin' to ...
1
vote
1answer
22 views

Nginx config subdomain exhibiting strange behaviour

I've got two identical droplets running on digital ocean. Both running Ubuntu 14.04 with nginx, gunicorn and Django. I am trying to park a subdomain of mine onto the IP of one of the droplets. On the ...
1
vote
1answer
18 views

Using DocumentRoot as a variable in other sections of Apache config file

Is there a way to use the DocumentRoot as a variable in further sections of a site's config file in Apache? Something as below: DocumentRoot /var/www/myNiceRoot <Directory ...
-1
votes
1answer
21 views

Change URL in Nginx Config

How can I change url to go to only one location rather than request coming from. URL : www.example.com/blog is going to /var/www/blog (which is correct) www.example.com/blog/abc should go to ...
0
votes
1answer
22 views

Wordpress Subfolder issue with Nginx Configuration

I am using wordpress and it's a multi-site subfolder config. - www.xyz.com is pointing to /var/www/project (Working) - (Wordpress blog) www.xyz.com/blog is pointing to /var/www/blog (Working) - ...
0
votes
1answer
32 views

Multi-site Subfolder Nginx Configuration

I have Nginx server. Currently, I have two projects: www.xyz.com -> /var/www/project/public; (This is working) www.xyz.com/blog -> /var/www/blog; (Error: This webpage has a redirect loop) How can ...
-1
votes
1answer
29 views

NGINX wont start: localtion directive is not allowed

Nginx is not starting or restarting, and gives the error: "nginx: [emerg] "location" directive is not allowed here in /home/admin/conf/web/nginx.conf:100". I understand that this is because a ...
0
votes
1answer
18 views

How can I query rsyslog settings?

I am using rsyslog for program logging and system logging so I have unified log files. I'm having some messages dropping out and I'm not sure why, but I think it may be a configuration option set ...
0
votes
1answer
16 views

Adding a new node to a Cassandra deployment

I have a basic Cassandra deployment that contains a single node. I want to add a second node to the deployment, and I want clients to have access to the same data regardless of which node they happen ...
0
votes
1answer
55 views

Have rundeck run on port 80

By default, rundeck runs on ports 4440 / 4443. Now, for security reasons which really ought to be obvious, I don't want this sensitive service binding to high-numbered ports. Once HTTPS is set up, ...
0
votes
0answers
22 views

Postfix: I've misconfigured my virtual forwarding, VIRTUAL@com.com is getting my email

So I've setup postfix for say me@example.com, I then forward emails to that address to my gmail as I don't want to store them on the vps. My /etc/postfix/virtual has equivalent; me@example.com ...
0
votes
1answer
18 views

Modsecurity Ignore/Whitelist IP

I have looked around on the net and have seen many common answers for this , however, none of them are working. I am trying to use this to ignore whenever our scans kick off in the morning. SecRule ...
0
votes
1answer
34 views

Apache SSL virtual hosts sharing same DocumentRoot

I have a web server with two domains pointing to the same document root. I have separate SSL certs for the two domains. I want (almost) everything that comes to the site(s) to run under SSL. All ...
0
votes
1answer
25 views

MySql ignores memory settings

I'm using MySql community server 5.6 on Ubuntu 15.04, I have /etc/mysql/my.cnf (no other config files). I've made changes to it and restarted MySql. When I use such query SELECT @@key_buffer_size ...
0
votes
0answers
26 views

How to use mosquitto_sub with `require_certificate false`?

My mosquitto 1.4.7 broker is configured like this: cafile /etc/mosquitto/certs/My-Sub-CA-chained.crt certfile /etc/mosquitto/certs/mosquitto.crt keyfile /etc/mosquitto/certs/mosquitto.pem ...
0
votes
0answers
28 views

Problems with Switch DGS-3420-26SC

I have a new SWITCH DGS-3420-26SC. Look at situation: On the first SWITCH Dlink DGS-3100-24TG, i have three VLANS: VID 99,132,100 99 this is our SERVICE VLAN; 100 this is VLAN of the neighbours ...
0
votes
1answer
17 views

Uniquely identify DiskStation in email report

I'm administering multiple DiskStations, each of which sends out all its status reports to me. Unfortunately, in the default configuration all of these emails look the same and I often have a hard ...
0
votes
0answers
23 views

Apache 2.4 Unrecognized header format %

Using Apache 2.4 and followed the examples here https://httpd.apache.org/docs/2.4/expr.html Here is my code <If "!%{REQUEST_URI} =~ m#files/cache/static/[A-Za-z_\-0-9]+.cache#"> Header ...
-1
votes
1answer
67 views

G-WAN: “no listener” error after installation on Ubuntu Server 14.04 with XFS filesystem

I'm desperately trying to start G-WAN since two days without any progress, so please let me now ask for your gentle help because I'm becoming (more) crazy ! Here is the log after a start with ./gwan ...
1
vote
0answers
19 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 ...
0
votes
1answer
39 views

How to test conditions in apache configuration?

I want to test a configuration in apache. How can I "debug" the configuration file ? For example, let's say that I have : <IfModule mod_geoip.c> GeoIPEnable On GeoIPDBFile ...
0
votes
1answer
26 views

Configure squid to forward ftp requests to ftp server on some other machine

I have installed squid proxy servers and vsftpd FTP server on 2 separate VMs. How can I Configure squid proxy servers on machines-A (where squid installed)to forward ftp requests to machine-B (where ...
3
votes
0answers
66 views

Latency (wait ttfb) on EC2

My application is crawling a website. I use this crawler : https://github.com/rfussien/leboncoin-crawler On my dev environment, the latency is acceptable (3-4 sec) but on my prod server (ec2 ...
0
votes
0answers
42 views

Create user-transparent location block in nginx only if directory exists

I have a directory that sometimes exists and sometimes does not. If requested and existent, all files in it should be made available, e.g. like this location /my_dir { root /other/www/root } Thus ...
3
votes
1answer
33 views

Automatically assuming master for several zone files

Now that I'm moving my main server, I'm spending some time refining and simplifying some of its setup, and it has now come to the DNS server (bind 9.9.5 in the new setup). I noticed that in my ...
0
votes
1answer
29 views

mongodb sharding - launch mongos with mongos.conf

We are currently setting up a sharded cluster with MongoDB, config servers have been set up using a configuration file : mongod.conf pointing out alternative paths for data and logs folders : ...
0
votes
0answers
28 views

Not able to find root disk using prtconf in solaris

I am working on Solaris 5.10 server. I have a shell script for backup purpose. It uses the prtconf command & then searches for the root disk to create the backup. It runs the below commands. ...
1
vote
1answer
46 views

What's wrong with this nginx configuration(error_page)?

I have configuration: server { server_name "mysite.ru"; root "/var/www/mysite/"; ### location / { try_files $uri $uri/ =404; } ...
0
votes
0answers
13 views

Nginx: Reasonable values for server_names_hash_max_size and server_names_hash_bucket_size [duplicate]

After adding a number of vhosts with a big number of server names I'm getting /etc/init.d/nginx reload * Checking nginx' configuration ... nginx: [warn] could not build optimal server_names_hash, ...
4
votes
1answer
147 views

Unattended installation of MS SQL Server (2008|2012) EXPRESS?

My goal is to install MS SQL Server 2012 R2 Express. I've downloaded SQLEXPRADV_x64_ENU.exe and used /ACTION=Install /UIMODE=Normal to generate and modify a configuration file. No matter how I fiddle ...
0
votes
0answers
5 views

use of remote procedure call in NETCONF

I was reading RFC6241 about netconf, where it's said about RPC as a messaging mechanism of the protocol. However, the spec defines XML for transmitting RPC messages, so I don't quite understand why ...
0
votes
0answers
15 views

Apache - how to match against a variable within regex?

Trying to match a variable against another in a directive does not work: RewriteCond %{REQUEST_URI} /absolute/path/%{REMOTE_USER}/ Trying the If directive in Apache 2.4 doesn't work either: <If ...
0
votes
1answer
10 views

AliasMatch inside <if? directory

I'm trying to use AliasMatch with <If> directory in my server configuration in /etc/httpd/conf/ but it tells me that AliasMatch not allowed here <If "%{HTTP_HOST} == 'localhost:8000'"> ...
1
vote
0answers
29 views

Nginx reverse proxy serving wrong host

My Nginx reverse proxy is doing something very odd. One domain in particular is not resolving correctly but instead showing the site of a totally different host. Only wiki.example.net is wrong, it ...
2
votes
2answers
47 views

Basic auth Apache with Tomcat

I have the following server setup: Apache Tomcat 7 running Atlassian's Jira (http:// <server-ip>:8081/tickets) Apache 2.4 web server as reverse proxy serving only the jira application at the ...
0
votes
1answer
19 views

How to change AWSTATS configuration via cli

My Apache log files have the date included in the name and I can't change this. Is there a way to change the LogFile config parameter for AWSTATS using Windows CMD prompt? Better yet a batch script? ...
0
votes
2answers
40 views

Symlinking config files

Our server has various services with it's own config file. Nginx, Dovecot, Postfix... All these config files are located in their own /etc/{service} directory. I'm trying to move these files to a ...