Tag Info

New answers tagged

1

Yes, this is easy enough and a real time saver as the number of sites you manage increases. In the /etc/nginx/conf.d/ directory, create one or more '.conf' files with the reusable config snippets you need. For example, type sudo nano /etc/nginx/conf.d/headers.conf and put your headers in the file. The default nginx.conf has a wildcard include directive at ...


1

Apache's default file is httpd.conf and from a new installation, this can be found in the conf subfolder from where apache was installed. What you're really looking for is the "Include" keyword which imports whatever configuration you want into the section that keyword is in. So if you're defining a special hostname like m.example.com and you want ...


0

You are confusing the Apache web server with the servers FTP service, they are different services using a different communication protocol (FTP vs HTTP). For example, when was the last time you went and read a wikipedia article, or performed a google search using Filezilla? The keep alive directive is an Apache core directive for maintaining long lived HTTP ...



Top 50 recent answers are included