Created
November 11, 2015 19:27
-
-
Save hlashbrooke/89adb00d530aea5bc66d to your computer and use it in GitHub Desktop.
Seriously Simple Podcasting: Fix for Nginx servers where the podcast downloads and audio player are not working and/or returning a 404 error.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~* ^/podcast-download/ { | |
try_files $uri $uri/ | |
fastcgi_index /index.php; | |
include fastcgi_params; | |
fastcgi_pass 127.0.0.1:9000; | |
} | |
location ~* ^/podcast-player/ { | |
try_files $uri $uri/ | |
fastcgi_index /index.php; | |
include fastcgi_params; | |
fastcgi_pass 127.0.0.1:9000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've only encountered this issue now for some reason? Everything was working fine then all of a sudden media not found.
Any idea if there is an official fix for this yet?
My site is deployed on Kubernetes so can't really edit my nginx. Any way this can be done through Wordpress files?