From 297d184d1c069d73c27c56f2d215ee67598f08fb Mon Sep 17 00:00:00 2001 From: Ashley Rich Date: Wed, 29 Apr 2020 11:50:11 +0100 Subject: [PATCH] singlesite.com changed to single-site-no-ssl.com --- README.md | 2 +- sites-available/.gitignore | 2 +- .../{singlesite.com => single-site-no-ssl.com} | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) rename sites-available/{singlesite.com => single-site-no-ssl.com} (68%) diff --git a/README.md b/README.md index b4904bb..dfc4dcd 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ This repository contains the Nginx configurations used within the series [Hosting WordPress Yourself](https://deliciousbrains.com/hosting-wordpress-setup-secure-virtual-server/). It contains best practices from various sources, including the [WordPress Codex](https://codex.wordpress.org/Nginx) and [H5BP](https://github.com/h5bp/server-configs-nginx). The following example sites are included: -* singlesite.com - WordPress single site install (no SSL or page caching) * ssl.com - WordPress on HTTPS * fastcgi-cache.com - WordPress with [FastCGI caching](https://deliciousbrains.com/hosting-wordpress-yourself-server-monitoring-caching/#page-cache) * ssl-fastcgi-cache.com - WordPress on HTTPS with FastCGI caching * multisite-subdomain.com - WordPress Multisite install using subdomains * multisite-subdirectory.com - WordPress Multisite install using subdirectories +* single-site-no-ssl.com - WordPress single site install (no SSL or page caching) Looking for a modern hosting environment provisioned using Ansible? Check out [WordPress Ansible](https://github.com/A5hleyRich/wordpress-ansible). diff --git a/sites-available/.gitignore b/sites-available/.gitignore index 4dd7079..3dbbf9a 100644 --- a/sites-available/.gitignore +++ b/sites-available/.gitignore @@ -7,6 +7,6 @@ !fastcgi-cache.com !multisite-subdirectory.com !multisite-subdomain.com -!singlesite.com +!single-site-no-ssl.com !ssl.com !ssl-fastcgi-cache.com \ No newline at end of file diff --git a/sites-available/singlesite.com b/sites-available/single-site-no-ssl.com similarity index 68% rename from sites-available/singlesite.com rename to sites-available/single-site-no-ssl.com index 3862615..84af3dd 100644 --- a/sites-available/singlesite.com +++ b/sites-available/single-site-no-ssl.com @@ -4,17 +4,17 @@ server { listen [::]:80; # Server name to listen for - server_name singlesite.com; + server_name single-site-no-ssl.com; # Path to document root - root /sites/singlesite.com/public; + root /sites/single-site-no-ssl.com/public; # File to be used as index index index.php; # Overrides logs defined in nginx.conf, allows per site logs. - access_log /sites/singlesite.com/logs/access.log; - error_log /sites/singlesite.com/logs/error.log; + access_log /sites/single-site-no-ssl.com/logs/access.log; + error_log /sites/single-site-no-ssl.com/logs/error.log; # Default server block rules include global/server/defaults.conf; @@ -37,7 +37,7 @@ server { server { listen 80; listen [::]:80; - server_name www.singlesite.com; + server_name www.single-site-no-ssl.com; - return 301 $scheme://singlesite.com$request_uri; + return 301 $scheme://single-site-no-ssl.com$request_uri; } \ No newline at end of file