nginx configuration for Symfony and WordPress running alongside each other
I found a specific rule for installing wordpress in a subfolder:
# Replace all occurrences of [subfolder] with the folder where your WordPress install is located# The WordPress rewritelocation /[subfolder] { try_files $uri $uri/ /[subfolder]/index.php?$args;}# The default MODX rewrite</h1>location / { try_files $uri $uri/ @modx-rewrite;}
Original post here: Web Rules: Nginx Rewrites, Redirects and other Cloud Configs | MODX Cloud