Created
November 11, 2015 15:40
-
-
Save cklosowski/ff8dd7243de95727c29f to your computer and use it in GitHub Desktop.
Possible fix for Nginx and PHP-FPM with Seriously Simple Podcasting
This file contains hidden or 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; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is to be put in the
serverdirective for your site running Seriously Simple Podcasting. It basically tells all requests to thepodcast-downloadendpoint to process as a.phpfile, even though the URL states it's an.mp3, and bypasses it through to PHP-FPM.You may need to change
fastcgi_pass 127.0.0.1:9000;to match that of your PHP-FPM configuration.