Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
15 views

Correct regex expression for the location block inorder to capture CSS and JS when the request URL changes

I have developed nginx config file order to cater some custom error pages. I have created two location blocks to capture the main index.html file and other location to capture the css/js and the ...
0
votes
0answers
5 views

ActiveMQ with KahaDB not persisting Pending messages on restart

I am new to using ActiveMQ and have observed behaviour where on restart the messages that are in "PendingMessages" state in a queue get "lost" (do not persist after restart). The configuration for ...
0
votes
0answers
9 views

sftp if not member of AD group

A domain user is being forced to an sftp connection despite the sshd match block. Given the following in /etc/ssh/sshd_config: Match Group *,!localshelluser,!DOM\shellusers USER *,!someuser ...
-2
votes
0answers
14 views

IMAP, email Aliases and syncing with clients [closed]

So, I'm gradually setting up a personal mail server to decouple from the internet giants a little, and I'm wondering about some quality of life tweaks to keep everything running smoothly. at this ...
0
votes
0answers
30 views

Is there a MIME type assigned to a simple Unix configuration file type?

When I check with file <unix>.conf, it tells me ASCII text (text/plain as an actual MIME type), which is correct, but I was wondering whether there was a MIME type defined for a simple Unix like ...
0
votes
0answers
13 views

Can I capture full TCP packet content with haproxy without knowing length of the packet?

I know I can capture 6 bytes length packet using this config: global log /dev/log local0 debug log /dev/log local1 notice chroot /var/lib/haproxy stats socket /...
1
vote
0answers
15 views

ProFTPD options: how to debug

Within a Red Hat Enterprise Linux Server release 7.6 (Maipo) I would like to use the module mod_ban in order to set a ClientConnectRate event. The service is started as: systemctl start proftpd ...
0
votes
0answers
12 views

All UNexisting files and folders redirecting except for those with php extension

I use the following directive for my application: location / { root "C:/Program Files (x86)/EasyPHP-Devserver-17/eds-www"; index index.php index.html index.htm; autoindex on; ...
0
votes
1answer
33 views

How to properly redirect all request to non-www inside nginx with reverse proxy [duplicate]

I have a react website served by reverse proxy inside nginx. On top of that, I have SSL. Certbot is handling redirects from http to https. I would also like to setup redirects from www to non-www. I ...
0
votes
1answer
30 views

NGINX using other server block as default

I´m currently configuring my nginx server and I´ve ran into a problem where I can´t seem to find the problem I did, even after hours of research. I´m running Debian 9 with PHP 7.2-fpm on NGINX. So, I ...
0
votes
0answers
5 views

Set Response Type To XML Pages

Under web server, I am having below configuration to set response header for HTML pages. When we hit the page from browser say www.mysite.com/en/myfile.xml Due to rewrite rule, It mapped to server as ...
1
vote
0answers
26 views

Elastic Beanstalk environment and security group config for ELB health checker?

I have an Elastic Beanstalk environment that I can't get Health Checks to work on. Here's my Elastic Beanstalk's Load Balancer configuration: My healthcheck URL is /status/ My EC2 security group (...
0
votes
1answer
12 views

Apache 2.4 multiple chained elseif arguments cause an error

I am getting the following error when trying to deploy the Apache configs: Syntax error on line 46 of /data/apache2/conf/mydomain.conf: Multiple <ElseIf> arguments not supported. Here is my ...
2
votes
1answer
43 views

IP blocking with .htaccess in Apache 2.4 - Not Working

I want to block specific IP addresses but allow all others. I'm still struggling with this. First I modified the apache2.conf file to look like this: <Directory /var/www/> Options Indexes ...
0
votes
1answer
31 views

rsyslog writing to postgres. rsyslog process very high cpu, postgres very low cpu

I'm using rsyslog to write dns data to postgres. The messages are always quite short and similar to each other: <ip of host making dns request> <dns request> I use a regex to pull ip ...
0
votes
0answers
50 views

Configure SSRS remotely - A connection to the computer cannot be established

I just installed the newest SQL Server Reporting Services 2017 using this instructions: https://docs.microsoft.com/en-us/sql/reporting-services/install-windows/install-reporting-services?view=sql-...
1
vote
0answers
34 views

how to redirect a request made to url to a specific domain/url in nginx config?

I've a website running on port 80 (http). And I've configured it in nginx-config file as well. Now, the website is not opening up directly by giving the url (Example - http://wap.example.com). I've to ...
0
votes
1answer
49 views

Configuring Linux server for long term use (no remote access granted after deployment)

Not sure if the title is the best but to explain a bit more: I have to deploy a Linux box on a customer network that I will not have remote or regular access to. I want to ensure that the system ...
-1
votes
2answers
57 views

Force nginx to always autoindex and ignore index.html files?

I am trying to get nginx to ignore index.html files and always show a directory listing from the autoindex module. If I remove my index line, nginx still defaults to serving index.html files, so that ...
0
votes
0answers
66 views

File Server Resource Manager (FSRM) inconsistently triggering on a file screen rule

I've been exploring the capabilities of the FSRM -- specifically the File Screen Management feature -- to see how it works and what it can do. To test it out, I set up in a lab with some VMs. I ...
0
votes
2answers
77 views

password unavailability on AWS

I have one windows instance. whenever I try to get the password of that instance. It shows me the error The instance is already running from last 24 hrs. Is there any other way to retrieve the ...
1
vote
1answer
66 views

Reverse proxy nodejs on nginx with prerender enabled

I would like to run NodeJS with express web server in a combination of prerender, inside nginx. What I have so far is a stable configuration for reverse proxy, which works fine - there is also a ...
-1
votes
0answers
38 views

syslog-ng: automatically generate a string to the destination log file

There is a way to automatically generate a fixed/dynamic string to the destination log file on syslog-ng startup? My syslog-ng runs inside a docker and writes to the same file always (using docker ...
2
votes
1answer
176 views

Using nginx try_files with multiple directory trees

I'd like to have nginx handle requests to a specific directory by checking to see if that path/file exists in several separate directories. For example, if my directory root had the following: images/...
1
vote
1answer
106 views

EMAIL in Compute Engine

First of all, I apologize for my ignorance (and my English), but let me explain my problem: I read that GCloud does not allow sending emails and they suggest to use Sendgrid, Mailjet etc. I chose ...
1
vote
1answer
639 views

How to remove an IIS Manager User using PowerShell

I can't seem to figure out how to remove a IIS Manager User using PowerShell. I'm using Microsoft Server Core, and I can't do this through Internet Information Services (IIS) Manager since the user I ...
0
votes
0answers
41 views

Can I add IP pool per client in OpenVPN

Just can't find a clear answer on: is it possible to add more than one static IP per client/certificate I need to manage several client accesses via firewall or some other method, so that, for ...
0
votes
1answer
14 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 ...
1
vote
0answers
137 views

nginx reverse proxy for windows client updates

Setup: Ubuntu 16.04 Nginx 1.14.0 TLS SNI support enabled I have configured a nginx server as reverse proxy for clients they want connect to a WSUS Server (Windows Updates) Windows Updates Server ...
1
vote
0answers
26 views

Setting DocumentRoot by cookie value

I am trying to serve different content (other DocumentRooot) for requests containing special cookie value. When using nginx it was pretty simple: set $newroot "oi-dev"; if ($cookie_interface = "ni")...
0
votes
1answer
29 views

Configure Nginx to search for specific files in another directory

When trying to get Nginx to use a certain directory for css files, I cannot seem to get the path to resolve: I keep getting a 404. server { listen 443 ssl; server_name localhost; ...
0
votes
0answers
48 views

Asterisk : How to have music tones in the same time of ringback tones?

I want to have a music tone in the same time of ringback tone when someone call the DID of my extension. This is the syntax I write for that : [from-external] ;=======================================...
1
vote
1answer
63 views

What to update to keep the server secured?

I've been asked to specify which updates are needed to update our server and have it secured - problem is I'm not an expert on this. I know that we've very old software. For my work I need PHP 7.2 ...
0
votes
1answer
57 views

Certificate validation error with Bareos and TLS

I have Bareos 17.2.4-9 installed on Debian Jessie. It was built from the source using the --with-openssl switch. It works perfectly WITHOUT TLS enabled, however when I try to configure it to use TLS,...
0
votes
0answers
18 views

Cannot find build log for bareos_17.2.4-9 Debian Jessie

I'm attempting to add TLS encryption to Bareos 17.2.4-9.1 by rebuilding it with the --with-openssl option. However, I can't find the ./configure options. Bareos was originally installed and setup ...
1
vote
1answer
271 views

ONLYOFFICE - JWS secret doesn't work (can connect without)

I'm running ONLYOFFICE Document Server under an https:// vhost on nginx on Ubuntu Server 18.04 LTS. It's reachable at onlyoffice.example.com and I also have a Nextcloud instance at nextcloud.example....
0
votes
1answer
120 views

Forwarded connection refused by server: Administratively prohibited. Using both @IP and PermitOpen

[This Machine is 192.168.80.125] Normal SSH Rules to allow all basic access: AllowUsers user1 PubkeyAuthentication yes PasswordAuthentication no AllowTcpForwarding ...
5
votes
3answers
257 views

What's so great about App-V? [closed]

App-V is one of those technologies that has a small but extremely enthusiastic fan base. And thinking it might be useful at my company, I decided to give it a try. After doing a 2-week deep dive ...
0
votes
0answers
40 views

Serve content from a port like a Apache2 directory

I have a Node.js/Express website running by port 3000. I would like to serve it as a land page of my server by the root (/) not using the port. I have a few limitations as I have also in the same ...
0
votes
0answers
19 views

apache2 configuration if file exists [duplicate]

Can I configure apache2 to choose between to configuration depending if a file exists? I'm talking ssl for this particular situation but I'm interested in general. I always create a self signed ...
0
votes
1answer
47 views

/etc/services file accidentally deleted on Amazon Linux EC2 instance

I accidentally deleted /etc/services file from my ec2 instance on AWS running Amazon Linux. How can I restore this file? In Ubuntu, I found out that this can be done using netbase package, how can ...
0
votes
1answer
38 views

network configuration after restoring a snapshot on newly created VPS instance

I have a website up and running on a VPS instance from Vultr running Ubuntu 18.04LTS, everything is fine. I wanted to try out a snapshot of the instance in a restore session just in case something bad ...
0
votes
1answer
36 views

nginx loads php, but not html

so, to start off with, yes, I have looked for a solution, but I can't find it. I know the issue is with my rewrite code, but I don't know enough to fix it. I'm using nginx and php-fpm on debian 9.5. ...
0
votes
0answers
26 views

Modsecurity v3 CRS + Nginx - separate vhost inclusions

I have the following setup: Nginx 1.14 ModSecurity v3 CRS v3 ModSecurity nginx connector I want to be able to specify in every vhost different collection of rules. For example: vhost1: filter all ...
0
votes
0answers
22 views

Multiple Received headers with sendmail php

I just initialized sendmail and I'm sending some test mails to my personal email address with a very simple PHP script. I noticed something odd, here: Received: from mydomain (MYIP.ip98.myhostname [...
2
votes
1answer
33 views

Nginx - Redirect old links

Let's say that i have thousand of old links that i want to redirect, all old links are like mydomain.com/1234-article-slug-name and the new links are like mydomain.com/article-slug-name. I want to ...
0
votes
1answer
260 views

Nginx: Static files result in 404

I'm trying to use this recipe for nginx vhost configuration for Drupal: server { server_name example.com; root /var/www/drupal8; ## <-- Your only path reference. location = /favicon....
0
votes
1answer
871 views

Cannot access website without www

I'm not sure where I'm going wrong, but I cannot seem to access my website without including the www prefix in the URL, otherwise I can access it fine. I have the following DNS records: A: @ - ...
0
votes
0answers
271 views

nginx - block/allow by domain name (rather than ip)?

In Apache you can allow/deny access by domain name as well as by ip address. In Nginx I know how to allow/deny by ip address but how do I do that by domain name ? (Secondary concern doesn't it ...
0
votes
0answers
23 views

How to remotly validate an installation for a basic user?

We have 10 PC on the network and we don't have ActiveDirectory. Actually, every time than a user (they aren't admin on their computer) want to install a software, I use TeamViewer to access the ...