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
117 views

Meaning of ssl_ciphers line on nginx.conf

What is the meaning of the following line from an nginx.conf file? ssl_ciphers HIGH:!aNULL:!MD5; I know the ssl cipher is specifying which algorithm to use to secure the server communication and I'...
0
votes
2answers
2k views

Nginx Site Config Templates and Variables

Hi I am looking to set up a simple nginx config, I read you can set variables using set $variable content; but so far I've had no luck... Below is what I have come up with so far/what I am trying to ...
2
votes
1answer
1k views

nginx relative path to include

In an nginx conf file, is there any way to specify the include to another conf file relative to the current conf file? I would like to write: server { listen 80; server_name localhost; ...
1
vote
1answer
495 views

Can someone explain nginx conditional flags? (-f, -d, -e, etc)

I'm in the process of migrating from Apache to nginx and have used http://winginx.com/en/htaccess to migrate the rewrite rules. I'm trying to understand what the translated ones mean though and I can'...
-1
votes
1answer
149 views

Return a custom response body directly from Apache

Is it possible to configure Apache to return content directly at a particular location? Without actually creating a file anywhere with that contents. Something like: <location /custom-location.txt&...
2
votes
1answer
955 views

Nginx 1.8 Configuration Problems

Here is the problem : (I'm new to NGinx, read about it, but didn't find my working solution yet.) I'm on a Windows system. My projects file system is located there : E:/www/ here is a project ...
2
votes
0answers
45 views

Rescue Configuration for Cisco 3925

I recently upgraded our Cisco 3925 with the latest firmware and it returned a segmentation fault. I restarted it and now the console port won't connect. Any ideas on how to restore the flash to a ...
0
votes
1answer
174 views

lighttpd config file fails to parse $HTTP[“url”] conditional configurations though other ones work

I'm trying to set mimetypes for files at a specific path on my server, which is running lighttpd version 1.4.31 with SSL. I'm following this documentation of configuration: http://redmine.lighttpd....
0
votes
1answer
99 views

Creating a Virtual Host on a local development machine

I'm having issues with creating a Virtual Host on my Ubuntu Apache2 setup for local development. I'm better familiar with httpd.conf running CentOS 6.5 and don't seem to be able to figure out how to ...
1
vote
1answer
181 views

Nginx alias with trailing slashes

I have a sub-site working under a parent website like this: http://example.org/sub-site (http://example.org/sub-site/ works too) Everything seemed to work well, including : ./sub-site/sub-section ...
2
votes
1answer
142 views

dovecot won't reload config?

I want to run imaps on a port other than 993. I changed this in /etc/dovecot/conf.d/10-master.conf and beforehand, backed up the original copy as /etc/dovecot/conf.d/10-master.conf.bak. I did ...
1
vote
1answer
154 views

Logging data posted to a specific URL in Apache

I have been asked to create a logging solution for an AngularJS application on a large e-commerce site. The solution itself has been created but actual transmission of the log data to the server has ...
1
vote
2answers
738 views

After power loss, my RAID config changed, some drives marked as foreign, but all data still there

I have a Perc 5/i in a Dell Precision 590. The controller DOES have a battery backup, and the controller reports that its status is healthy. There are five 1TB SATA drives connected to the controller. ...
0
votes
1answer
53 views

How to config Nginx runs php on sub directories?

I have 2 versions of portfolio website for 2 languages. I put them in 2 dir in the same root dir. /root/ |----vi/ |----en/ |----index.php Then I config nginx as below: server { ...
-1
votes
1answer
150 views

Redirect for https and www [duplicate]

I currently have my rewrite rules in the post_virtualhost_2.conf file this in inserted into the httpd.conf file at the absolute end. I have two blocks that don't seem to be working <IfModule ...
-1
votes
1answer
26 views

Append RewriteRule to existing virtual host

My server configuration example.com.conf uses a virtual host for example.com. It contains a few rewrite rules. Now I'd like to add another rewrite rule on the same example.com domain, without editing ...
0
votes
1answer
90 views

Does Apache mod_status give any insight to tuning Apache config?

Does the Apache mod_status output give any insight to tuning Apache prefork config? For example, using Apache's mod_status, I figured out that My server gets 3 requests/sec average, the range is 2-...
0
votes
2answers
156 views

Nginx www to non-www, forward to http, and forward to https at specific location

In my nginx config, I intended to reach purposes below: forward www to non-www forward https to http only use https on uri with pattern 'secure' Code below reach the goals, except that ...
0
votes
1answer
47 views

Setup SSL keys when using roles-profiles pattern with Puppet

Here is a scenario. I have two web applications (lets call them webapp1 and webapp2) that needs apache, php (with some modules), and the web app's code it self. This is how I set this I set this up (...
1
vote
1answer
3k views

How to define a host group on Nagios 4

I would like to define a host group on Nagios 4. In recon it should be defined somewhere in /usr/local/nagios/etc. I tried creating a file hostgroups.cfg that with contents: define hostgroup{ ...
-1
votes
1answer
48 views

Many connections in state, How I can prevent this more # number

Please, by this command I can know the number of connections for each IP: netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 Sometimes greatly increase the number of contact ...
1
vote
1answer
132 views

Configure postfix to send email only from authenticated and receive from anywhere

I`m having problem configuring postfix to receive emails from any domain but block senders for only authenticated users in localhost My main.cf is like : mydomain = domainname myhostname = mail.$...
1
vote
0answers
386 views

Ansible using role template vs copying static configuration file [closed]

I have been using ansible to manage the haproxy configurations for a few servers and I really like the tool. It makes deploying new servers and keeping the configurations in sync a breeze. One ...
2
votes
2answers
677 views

Configure Centos7 Apache 2.4 php-fpm to run as user

I would like to configure a Centos 7 Apache 2.4 Linode to use php-fpm to execute php as the file owner. The docs for earlier Centos6 / Apache2.2 don't work and the configurations I have seen for ...
5
votes
1answer
731 views

Best way to restrict some SSH users to publickey authentication only (disable password authentication)

I'm running Mac OS X Server.app on Yosemite and I have SSH enabled for users with the default settings in /etc/sshd_config (publickey and password auth enabled by default). However, I need to ...
1
vote
0answers
19 views

Elseif not working on Apache2.4

I want to redirect to maintenance page people which have NOT a specific header (my admins). So people which have a USERID header in the following list should not enter into the Elsif condition, and ...
0
votes
1answer
166 views

Disabling nonce check in Apache mod_cluster

I am trying to write a shell script on my Apache server with mod_cluster to enable and disable contexts. However, it is not working because of the nonce. How do I disable the check for this? Googling ...
2
votes
1answer
94 views

Apache - protect a subdirectory but not the root

I have a website, it should be accessible by anyone, but one directory should request http authorization. I have added following lines to website.conf: <Directory /var/www/website/serverside>...
0
votes
1answer
403 views

How to serve first Nginx regex server_name servers

I have a Nginx config which look like this : server { server_name sub2.sub1.example.com; listen 80; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name sub2.sub1....
0
votes
0answers
148 views

Random speed on downloading files from Nginx/lighttpd

I've tried both lighttpd and nginx as webservers. All to very same result: In the morning, when the load is low, files are lighting fast to download. But later, when the load is a BIT more, server ...
1
vote
0answers
36 views

IIS 8, Shared Configuration and server specific HTTP Header

Is it possible in IIS 8 use Shared Configuration and set an HTTP Header for each server with a different value?
3
votes
1answer
63 views

Additive SNMPd configuration in CentOS

I have a small program that I am preparing for release. As part of its functionality, it queries SNMP for a few statistics. The MIBs in question are installed by the default net-snmp package, but are ...
0
votes
1answer
151 views

Sharing simple tasks across roles in ansible?

I have a couple of different machine types that all need to have the official postgres APT repo defined for them in order to be able to apt-get install the right version of tools. These different ...
0
votes
0answers
89 views

Disable gd library on a specific website

I am trying to disable gb library on a specific website so it won't affect the other websites which are hosted on the same server. Is it possible to do this with htaccess or is there another way?
1
vote
1answer
631 views

NGINX, how to strip location prefix in $fastcgi_script_name

I've already read that : how to remove location block from $uri in nginx configuration? but is there a way to strip the location blocks's prefix from the $fastcgi_script_name without using regex ? ...
0
votes
3answers
140 views

MySQL configurations are not saved after restarting windows server machine

I have a PHP application hosted on a windows server 2008 R2 machine. I had a problem with strict mode in MySQL and solved it by disabling the strict mode using the following command set GLOBAL....
0
votes
0answers
151 views

NGINX: add_before_body with .php

worker_processes 8; events { worker_connections 1024; } http { gzip off; root htdocs; add_before_body subsites/dropletlocal/library/global/func-global.class.php; #DOESN'T ...
-1
votes
1answer
231 views

Can squid work as reverse proxy server for ftp, pop3 and smtp [closed]

OS is Ubuntu 14.04 Can squid work as reverse proxy server for ftp, pop3 and smtp? I need a server can work as reverse proxy server mode to proxy the http and ftp. I configure quid3 but I find it can ...
2
votes
1answer
2k views

How to Disable TLSv1.0 and TLSv1.1 in Nginx

I'm trying to figure out how to disable TLSv1 and 1.1 Nginx and ONLY allow connections on 1.2. This is for testing reasons more than in production use and for the life of me cannot figure out why ...
0
votes
0answers
214 views

Server IP variable in received_header_text in exim config

I would like to change received_header_text in exim config and I need to use server IP in it. Is there a variable that I can use there to get server IP? What I try to do: See related question. I ...
0
votes
1answer
463 views

Can't find received_header_text in exim.config file

I would like to modify received_header_text to add additional "Received: ..." header for authenticated mails - so gmail import will check SPF against our server, not client IP. But my exim.conf does ...
0
votes
1answer
89 views

how to put server configuration in git on linux

I want to track random config files / directories from my server into git repository. I do not mean tracking the /etc, here are some examples: /etc/named.conf /etc/named/* /var/named/* /usr/local/...
0
votes
1answer
35 views

Virtual Host showing error 11001 even after chown and chmod

I am trying to create a virtual host to just test a basic html website. Guest OS - Ubuntu 14.04 Host OS - Ubuntu 14.10 In the Host OS, I connect through a proxy server which requires me to enter a ...
1
vote
0answers
224 views

Setting up Infiniband network - wrong route

So I'm trying to set up an Infiniband network alongside my Ethernet network. I have 10 compute nodes and one conductor node. All 11 machines are running CentOS and are plugged in to an Infiniband ...
1
vote
1answer
98 views

2 nics and 2 public ips

I have a server with 2 nics (interfaces) running ubuntu 14.10 I need to connect each nic to a different router (each being a gateway to different internet connections from different ISPs. I also ...
2
votes
1answer
618 views

Is there any reason to keep the power option on default “Balanced” instead of “high performance”?

We rent our servers at a local hosting partner, they manage the setup and settings and we just use them. But we have as well admin rights, but the management is at their side. So if I switch importend ...
0
votes
1answer
1k views

Using an Ansible Do-Until loop to manage outdated directories

I have a directory that will have a series of subdirectories added to it, and I want to maintain only the most recent 5. Here are the two tasks that I think should accomplish this: - name: Get ...
0
votes
2answers
2k views

Apache Prefork MaxClients cannot exceed 256 [closed]

I manage a Centos 6.6 server (with cpanel expired license / maybe it's not important) with 8 cores and 64GB RAM and my HTTP server becomes very slow when it reaches between 250 and 300 simultaneous ...
0
votes
2answers
101 views

Replicating My Production Environment

I have a CentOS production server that I am currently doing my development on (I know this is awful) I'm bringing on some new developers and I want to set up appropriate development, staging and ...
-3
votes
1answer
541 views

Increasing server upload speed tricks [closed]

Server : IBM X3630 CPU : 2x Intel Quad Core E5620 (8265 point) RAM : 16GB DDR3 Hard Disk : 4x300GB SAS 15k Bandwidth : 10 TB Uplink Port Speed : 1 x 1000Mbps Full-Duplex With above features my ...