fix spacing
This commit is contained in:
parent
edca3040eb
commit
53ce56092e
@ -37,7 +37,7 @@ server {
|
||||
|
||||
# Use the php pool defined in the upstream variable.
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
fastcgi_pass $upstream;
|
||||
|
||||
# Skip cache based on rules in global/server/fastcgi-cache.conf.
|
||||
fastcgi_cache_bypass $skip_cache;
|
||||
@ -50,8 +50,8 @@ server {
|
||||
fastcgi_cache_valid 60m;
|
||||
}
|
||||
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
|
||||
# Uncomment if using the fastcgi_cache_purge module and Nginx Helper plugin (https://wordpress.org/plugins/nginx-helper/)
|
||||
# location ~ /purge(/.*) {
|
||||
|
||||
@ -31,12 +31,12 @@ server {
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Use the php pool defined in the upstream variable.
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
}
|
||||
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
}
|
||||
|
||||
# Redirect www to non-www
|
||||
|
||||
@ -28,12 +28,12 @@ server {
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Use the php pool defined in the upstream variable.
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
}
|
||||
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
}
|
||||
|
||||
# Redirect www to non-www
|
||||
|
||||
@ -28,12 +28,12 @@ server {
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Use the php pool defined in the upstream variable.
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
}
|
||||
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
}
|
||||
|
||||
# Redirect www to non-www
|
||||
|
||||
@ -16,7 +16,7 @@ server {
|
||||
|
||||
# Paths to certificate files.
|
||||
ssl_certificate /etc/letsencrypt/live/ssl-fastcgi-cache.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/ssl-fastcgi-cache.com/privkey.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/ssl-fastcgi-cache.com/privkey.pem;
|
||||
|
||||
# File to be used as index
|
||||
index index.php;
|
||||
@ -42,9 +42,9 @@ server {
|
||||
try_files $uri =404;
|
||||
include global/fastcgi-params.conf;
|
||||
|
||||
# Use the php pool defined in the upstream variable.
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
# Use the php pool defined in the upstream variable.
|
||||
# See global/php-pool.conf for definition.
|
||||
fastcgi_pass $upstream;
|
||||
|
||||
# Skip cache based on rules in global/server/fastcgi-cache.conf.
|
||||
fastcgi_cache_bypass $skip_cache;
|
||||
@ -57,8 +57,8 @@ server {
|
||||
fastcgi_cache_valid 60m;
|
||||
}
|
||||
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
# Rewrite robots.txt
|
||||
rewrite ^/robots.txt$ /index.php last;
|
||||
|
||||
# Uncomment if using the fastcgi_cache_purge module and Nginx Helper plugin (https://wordpress.org/plugins/nginx-helper/)
|
||||
# location ~ /purge(/.*) {
|
||||
|
||||
@ -10,8 +10,8 @@ server {
|
||||
root /sites/ssl.com/public;
|
||||
|
||||
# Paths to certificate files.
|
||||
ssl_certificate /etc/letsencrypt/live/ssl.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/ssl.com/privkey.pem;
|
||||
ssl_certificate /etc/letsencrypt/live/ssl.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/ssl.com/privkey.pem;
|
||||
|
||||
# File to be used as index
|
||||
index index.php;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user