I figured it out... I read through the location directive manual 100 times and finally came to a working fix... See updated config below: server { listen 80; server_name mysite.com www.mysite.com; root /opt/nginx/www.mysite.com/public_html; index index.php; location / { # This is cool because no php is touched for static content try_files $uri $uri/ /index.php?$args; } location ~by jbarnett - How to...
I have this exact same issue... My config below: server { listen 80; server_name mysite.com www.mysite.com; root /opt/nginx/www.mysite.com/public_html; index index.php; location / { # This is cool because no php is touched for static content try_files $uri $uri/ /index.php?$args; } location ~* \.(js|css|png|jpg|jby jbarnett - How to...