The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
85 views

nginx PHP files downloading instead of executing

I'm trying to achieve following thing. I've main website under domain root directory. It's working fine. i.e PHP files are executed. After some time I've added "auth" directory with basic HTTP ...
0
votes
1answer
1k views

exim4 multi domain relay - update-exim4.conf.conf

I am trying to configure a Debian vServer to relay mails for multiple domains pointed to the vServer. The vServer has a fixed ip. The webserver for all domains is working fine. With one domain the ...
1
vote
0answers
43 views

nginx SSL client certificate handshake very slow for domain and paths

I have a server with some subdomains publicly accessible while on one subdomain a client side certificate is required. Not only that, paths on that subdomain point to different applications. I.e that ...
0
votes
0answers
61 views

Nginx try_files and named location not working as expected

Previously (about 5months ago) everything was working well, right now, instead of @app index.html is served. Same problem on nginx version: 1.6.2 and 1.8 This is my /etc/nginx.conf http { ...
0
votes
1answer
57 views

centos 7 : nginx givers error when enabling log

In CentOS 7, if I put the following line in my nginx.conf: error_log /usr/share/nginx/wordpress.itzgeek.com/logs/error.log; I get the following error when restarting nginx: nginx: [emerg] open() ...
0
votes
1answer
155 views

If there a way to set Global Expires Headers for all domains on an Nginx install?

New to nginx. I searched for this but was unable to find what I was looking for, maybe I'm thinking of it wrong. Is there a way to add the following rules to an nginx conf somewhere which will apply ...
0
votes
1answer
2k views

DirectoryIndex works in htaccess but not in apache2 .conf files

I need my Ubuntu install to use index.php as the default file. Added DirectoryIndex index.php to /etc/apache2/apache2.conf Added <Directory /path/to/website/root/> ...
1
vote
0answers
107 views

Fail2Ban regex in sshd.conf not catching failed root logins in /var/log/auth.log

I used Fail2Ban on my Ubuntu server (14.04 LTS), and it mostly works well. I recently noticed the default regex in /etc/fail2ban/filter.d/sshd.conf does not match some failed sshd login attempts. ...
2
votes
1answer
83 views

All of sudden, Nginx says “[emerg] ”server“ directive is not allowed” on first line of conf file

I'm pretty new to server administration and I'm having a huge headache trying to fix a nginx conf file that just won't work in a Debian remote machine. Whenever I try to debug the file doing nginx -c ...
0
votes
1answer
192 views

Nginx rewrite subdomain to subdirectory without changing the URL

I've been using Appserv for a while and moved to Nginx for now. When I was running my website under Appache I had this configuration in the .htaccess file in order to link the subdomain to the ...
0
votes
0answers
32 views

NGNIX limit_per_ip best for 100-200 users from same IP

so i am setting up a web server running ngnix and have it all nice and running, however after some load testing i have noticed a lot of requests are getting 503 errors due to the limits set by ngnix ...
0
votes
1answer
85 views

NginX Nested Location Issue: Spitting out raw PHP

I've tried hard to understand NginX's logic in location order processing but it still is beyond me, and I suspect that's why I am getting the following issue. I run a SugarCRM instance, which I have ...
1
vote
2answers
211 views

Nginx configuration files structure

Where do I put specific domain configuration files on an nginx server? I've seen a lot of conflicting information. Does it belong in the sites-enabled folder? If so, do I put it in the already created ...
2
votes
1answer
202 views

Conditionally serving high resolution and WebP images with nginx

Not sure if I'm trying to pull off the impossible, but I'm wanting to configure Nginx to serve ".webp" files to browsers that support the file format and serve fallback files (i.e. pngs, jpgs, etc.) ...
1
vote
1answer
820 views

Nginx Config on DreamHost VPS

I got my site up and running on nginx on my Dreamhost VPS. Cool. I wanted to limit the number of connections per IP by adding the following to the http block of the site-wide nginx conf file ...
0
votes
1answer
560 views

/etc/init.d/exim queue runner

I'm having trouble getting my exim daemon to run according to the init.d script settings. The main problem is with the QUEUE variable. I've set it 5m to have it spawn another queue runner as needed. ...
3
votes
1answer
562 views

Unable to allow users access to SVN repo, what could be the cause?

I've installed a SVN server and configured a repository inside it. It is accessible by Apache. I've allowed access to 3 users, here are the repository conf files: [root@afdev conf]# egrep -v '^#' * ...
0
votes
1answer
246 views

Nginx complete folder protection not working

I have installed nginx(1.4.3) with PHP-FPM(5.4.20). i want to protect my wordpress wp-admin folder. my nginx configuration file domain.conf: server { listen 80; server_name example.com; ...
1
vote
2answers
68 views

Testing vhost config

I've been battling to get a vhost config working on an internal development server at work. I have found other vhost configs in the site-available directory. For some reason, I can't see why my new ...
-1
votes
1answer
101 views

Nginx: maximum number of locations as specified in nginx.conf? [closed]

Is there a maximum number of locations that nginx can handle in nginx.conf?
0
votes
1answer
1k views

Disallow everything in directory except subdirectories with certain name using .htaccess or vhost.conf

How can I disallow everything in a directory except any subdirectories that have a certain name using htaccess or even vhost.conf for the site? I have a protected main directory which contains ...
0
votes
1answer
1k views

Too much traffic on UDP suspecting bind miss-configuration

A server generates over 600GB of monthly traffic on UDP port (while http is under 1GB), so I ran tcpdump command and I see many (over 10/second or so) fast dns related commands/traffic that looks like ...
0
votes
2answers
92 views

nginx don't host on root host on root/somename

How do I get nginx to ignore requests on http://127.0.0.1/ but hand out from my html directory on http://127.0.0.1/somename this will also need to be the same for the proxy for /data/ I have tried ...
1
vote
2answers
415 views

Nginx Secure Download (IP address)

I'm configuring nginx to work with secure_download and has made it to work without any problems. However I want to modify it and make the download link for a specific IP only. I can achieve this ...
2
votes
3answers
2k views

Organizing .conf apache configuration per domain

I have a VPS server with CentOS with multiple domains (some I own, some I don't). I host my sites and my friends sites on it. I have this structure: /home/myfriendsusername/public_html/ ...
3
votes
1answer
3k views

What does the apache Satisfy directive do?

I stumbled upon a httpd.conf directive that I can't manage to understand: <Files ~ "^\.ht"> Order allow,deny Deny from all Satisfy All </Files> According to the doc , I would say ...
0
votes
1answer
600 views

SNMP Custom Script Execution in Win 2008R2

I'm trying to execute a custom Script that is readable from SNMP service. Let's try to explain my purpose. I have a Win2008R2 server I have a PowerShell Script that "echo" something and return an ...
1
vote
1answer
1k views

Conditionally serve 404 file based on request url file extension in Nginx?

I would like to know if I can conditionally serve a specific file as a 404 page based on the request url, or the content-type/mime-type requested. I'm guess something along the lines of: if ...