Files
WPIQ/wo/cli/templates/wpsc.mustache
VirtuBox c47373f21d update wpsc template and fix multisite
* update wpsc template the same way than fastcgi_cache 
* fix wp multisite stacks
2019-03-05 20:11:05 +01:00

17 lines
557 B
Plaintext

# WPSC NGINX CONFIGURATION
# DO NOT MODIFY, ALL CHANGES WILL BE LOST AFTER AN WordOps (wo) UPDATE
# Use cached or actual file if they exists, Otherwise pass request to WordPress
location / {
# If we add index.php?$args its break WooCommerce like plugins
# Ref: #330
try_files /wp-content/cache/supercache/$http_host/$cache_uri/index.html $uri $uri/ /index.php;
}
location ~ \.php$ {
try_files $uri =404;
include fastcgi_params;
fastcgi_pass php72;
# Following line is needed by WP Super Cache plugin
fastcgi_param SERVER_NAME $http_host;
}