Questions tagged [conf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
41 views

NGINX: check for file existence doesn't fire (enabling static brotli without module)

I'm currently trying to make nginx respond with (precompiled) brotli files when the requesting browser accepts it. (Accept-Encoding contains "br"). The compressed versions of the files are ...
0
votes
0answers
28 views

How to modernize apache conf virtualhost files

So I have some old Apache confs for virtualhosts that I have not updated for awhile, and I would like to review them and modernize them if needed. But I'm not quite sure where to begin or what is the ...
0
votes
0answers
17 views

Keystore location in tomcat server.xml is getting cached

I have an entry in my server.xml with a location to a Keystore. I am using a new directory so I updated it with the new location. Whenever I restart the server I get a file not found exception and it ...
0
votes
2answers
42 views

IP address shows default Nginx welcome page,but URL shows the WP site that is installed

I have installed WordPress on a LEMP stack in Ubuntu in Digital Ocean. When I use the Droplet IP address to access it, it shows the default nginx welcome page; but when I use its URL, it shows the ...
0
votes
2answers
156 views

Can I use both pool and server configurations in ntp?

For a ntp demon, what happens if I have this configuation in ntp.conf: pool 0.pool.ntp.org burst iburst minpoll 4 server europe.pool.ntp.org ? How will ntp be configured? I don't know there to be ...
0
votes
0answers
31 views

CUPS make many backup files of printers.conf with format “printers.conf.YYYY-MM-DD-HH-MM-SS” filling my /etc/cups directory

Enviroment: Operative System: "CentOS Linux release 7.7.1908 (Core)" CUPS 1.6.3 (installed by yum) Papercut MF 1.9.5 Symptom: The /etc/cups/ dir is full os printer.conf files: # ls -l total ...
0
votes
0answers
34 views

Can't find phpmyadmin.conf to add in fail2ban jail

I have installed webmin and virtualmin on Debian 9.11 (stretch). I installed phpmyadmin from "Virtualmin/Install Scripts", then i move phpmyadmin folder to /home/site/public_html/phpmyadmin I want to ...
0
votes
1answer
29 views

How to edit .conf files from a script

On a new VPS I might want to ensure that certain config values are set, or amended if they already exist. For example in /etc/systemd/journald.conf I want to set SystemMaxUse=100M if it's not already ...
0
votes
0answers
32 views

FileMaker Server, apache, .conf: Who is actually active and where?

Background: We've got an existing FileMaker Server setup (now version 18, but it's been since version 16). It looks like during one of the deployments, our web configuration got messed up (FileMaker ...
0
votes
1answer
86 views

nginx conf file fault causing mixed content

Hi can someone help to check the nginx conf file? Old and new images upload to my site are causing mixed content error. So, if I change the source code it won't solve the prob. I think it's caused ...
0
votes
1answer
289 views

why this .conf file is giving “Server directive is not allowed here” error?

I've read some other answers to the almost exactly same question, but they don't seem to be addressing my query (some of them due to diff environ etc). I'm setting up a new ubuntu server on DO. On it ...
0
votes
0answers
237 views

keepalive_disable parameters nginx for particular useragent/browsers

I am using keepalive_disable in nginx conf this requires for Syntax: keepalive_disable none | browser ...; Default: keepalive_disable msie6; Context: http, server, location Now i have two ...
2
votes
1answer
3k views

What is the difference between default-ssl.conf and what is 000-default-le-ssl.conf?

default-ssl.conf is quite self-explanatory. I assume it's for default values that would be used when no vhost or other config overrides it. But what exactly is 000-default-le-ssl.conf file? Why is it ...
0
votes
0answers
32 views

Insert into each server directive files dinamicaly NGINX

my current settings are: My nginx http settings are like .. http{ # ... include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/.conf*; } and each server conf files I have ...
0
votes
1answer
22 views

RewriteEngine giving problems in Apache 2

I am using apache2 in Ubuntu 14 and have set up multiple conf files for multiple domains. However, when I am trying to add a new domain with a similar conf file it's not working. The conf file for the ...
0
votes
1answer
26 views

Unable to write apache2 config for sub path of my domain

My app root: /public/index.php /public/front/index.html I want to mydomain.com/api to serve from /public/index.php, and my frontend i.e the static site mydomain.com/ from /public/front/index....
0
votes
2answers
155 views

apache https port 80 redirects to wrong https site

When I listen to port 80 in /etc/apache2/sites-available/majichook.com.conf and do a permanent redirect to https://majichook.com for some reason it is forwarding to my https://99centbeats.com instead. ...
1
vote
1answer
49 views

PHP Dynamically generating redirects

I've recently moved all my of my rules from a .htacess file into a .conf file. Now when I want to add a redirect rule to my website I have to edit the .conf file and sudo apachectl graceful. I've ...
1
vote
0answers
425 views

Nginx try_files not working, redirected to 302

I need to access below url. http://localhost/admin/logout.php/?access_token=21fd3cfe5bab26131ff5244c08e5f520&continue=/ In my NGINX server, it is redirecting me to default page. Please find ...
1
vote
0answers
742 views

Asterisk Confbridge conference. How to avoid eavesdroppers?

Trivia: I'm trying to implement a conference call management functionality on my Elastix server. The original problem was in the Elastix's unability to invite all participants in the conference via ...
0
votes
1answer
1k views

Setting cache/expire time to every element in nginx?

when configuring web servers (nginx) is it uncommon to set and expire time and cache every element in every directory that gets requested by the client browser? some examples of expire time i just ...
0
votes
1answer
1k views

Server alias not working on apache, ubuntu 14.04 server, Amazon AWS

I have a remote ubuntu server on Amazon AWS, and I am enabling a site using a2ensite. I have a conf file in my /etc/apache2/sites-available/001-mysite.conf My servername and server alias is laid out ...
2
votes
3answers
11k views

HTTPS proxy in apache for rest API

Sounds like a basic question, but I don't know about apache config. Any help would be great. Since Open TSDB wont support https to send data(via REST API), we want to create a https proxy in apache ...
-2
votes
1answer
284 views

Nginx force https only for index page

What's the best way to set up nginx conf to force https on the index.php page only and every other page be forced to http. thanks
0
votes
1answer
180 views

Nginx rules conversion

I have these htaccess rules: <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On # Redirect Trailing Slashes... RewriteRule ^...
0
votes
1answer
90 views

How do I set up my nginx file to rewrite my URL?

I’m using nginx (1.4.6-1ubuntu3.4) on Ubuntu 14.04. When someone visits a page, e.g. http://mymaindomain.com/page1, I want to rewrite it to include the www subdomain. So if someone visited the ...
2
votes
1answer
587 views

Apache HTTPD: URL resolution for a virtual host with proxies and directory alias

Here's what my environment looks like: REST api (django), running over WSGI (mod_wsgi) on port http://server:8107/api static files for the API site (i have some admin pages), in a directory, say /opt/...
1
vote
1answer
831 views

NGINX index.php rewrite rules wont work

Recently I changed my webserver from cpanel and CENTOS 7, to use nginx with an scipt called nDeploy, wich works well with wordpress and the sites hosted on my server. I have this script wich is not ...
0
votes
1answer
476 views

Redirect loop - apache

I'm trying to wrap my head around why my apache configs give me an infinite redirect loop. I've tried everything but the loop is still there. What's interesting is that when you replace the very last ...
4
votes
1answer
14k 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 ...
1
vote
0answers
432 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 ...
1
vote
0answers
2k 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
993 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
1k 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 ...
1
vote
0answers
699 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
2k 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
689 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
1answer
268 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
636 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
755 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.) ...
2
votes
1answer
3k 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 (/dh/...
0
votes
1answer
1k 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
1k 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
279 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; ...
0
votes
3answers
5k 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/> DirectoryIndex ...
0
votes
1answer
2k 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
2answers
331 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 ...
0
votes
1answer
779 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?
1
vote
1answer
3k 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
2k 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 ...