new nginx templates and wo man

This commit is contained in:
VirtuBox
2019-03-06 15:32:07 +01:00
parent d3d13e21a6
commit 050201ae77
13 changed files with 54 additions and 90 deletions

View File

@@ -1,7 +1,8 @@
# WPFC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHANGES WILL BE LOST AFTER AN WordOps (wo) UPDATE
# $skip_cache variable set in /etc/nginx/conf.d/map-wp-fastcgi-cache.conf
# $skip_cache variable set in /etc/nginx/conf.d/map-wp.conf
add_header X-fastcgi-cache $upstream_cache_status;
# Use cached or actual file if they exists, Otherwise pass request to WordPress
location / {
try_files $uri $uri/ /index.php$is_args$args;