Skip to content

Commit 297d184

Browse files
committed
singlesite.com changed to single-site-no-ssl.com
1 parent 33ad097 commit 297d184

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
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:
44

5-
* singlesite.com - WordPress single site install (no SSL or page caching)
65
* ssl.com - WordPress on HTTPS
76
* fastcgi-cache.com - WordPress with [FastCGI caching](https://deliciousbrains.com/hosting-wordpress-yourself-server-monitoring-caching/#page-cache)
87
* ssl-fastcgi-cache.com - WordPress on HTTPS with FastCGI caching
98
* multisite-subdomain.com - WordPress Multisite install using subdomains
109
* multisite-subdirectory.com - WordPress Multisite install using subdirectories
10+
* single-site-no-ssl.com - WordPress single site install (no SSL or page caching)
1111

1212
Looking for a modern hosting environment provisioned using Ansible? Check out [WordPress Ansible](https://github.com/A5hleyRich/wordpress-ansible).
1313

sites-available/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
!fastcgi-cache.com
88
!multisite-subdirectory.com
99
!multisite-subdomain.com
10-
!singlesite.com
10+
!single-site-no-ssl.com
1111
!ssl.com
1212
!ssl-fastcgi-cache.com

sites-available/singlesite.com renamed to sites-available/single-site-no-ssl.com

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ server {
44
listen [::]:80;
55

66
# Server name to listen for
7-
server_name singlesite.com;
7+
server_name single-site-no-ssl.com;
88

99
# Path to document root
10-
root /sites/singlesite.com/public;
10+
root /sites/single-site-no-ssl.com/public;
1111

1212
# File to be used as index
1313
index index.php;
1414

1515
# Overrides logs defined in nginx.conf, allows per site logs.
16-
access_log /sites/singlesite.com/logs/access.log;
17-
error_log /sites/singlesite.com/logs/error.log;
16+
access_log /sites/single-site-no-ssl.com/logs/access.log;
17+
error_log /sites/single-site-no-ssl.com/logs/error.log;
1818

1919
# Default server block rules
2020
include global/server/defaults.conf;
@@ -37,7 +37,7 @@ server {
3737
server {
3838
listen 80;
3939
listen [::]:80;
40-
server_name www.singlesite.com;
40+
server_name www.single-site-no-ssl.com;
4141

42-
return 301 $scheme://singlesite.com$request_uri;
42+
return 301 $scheme://single-site-no-ssl.com$request_uri;
4343
}

0 commit comments

Comments
 (0)