podPress and nginx (3 posts)

  1. leandroalonso
    Posted 3 years ago #

    Since we moved our server to a nginx-based environment, the permalinks of the podPress stopped working:

    e.g.: http://www.tecnoblog.net/podpress_trac/web/113765/0/TBPod021.mp3

    The nginx appears to search for the .mp3 file rather than process the request using index.php.

    Someone has a insight of what I could do? Some config?


  2. ntm
    Plugin Author

    Posted 3 years ago #

    It took me some time. But I managed to install nginx and I can say that this issue is probably an issue of your nginx .conf files. I'm using basically the .conf files form this WP Codex page: http://codex.wordpress.org/Nginx
    for a single blog (without cache plugins) with a few minor differences:
    I use

    • worker_processes 1; instead of worker_processes 2;
      (I have installed my nginx stack on a Windows computer and if I set this value to one I get 2 process which are enough.)
    • rewrite ^ $scheme://mysite.com$uri redirect; instead of rewrite ^ $scheme://mysite.com$request_uri redirect;
      (This better when you use the default Permalinks scheme. Using $request_uri doubled the query arguments.)

    in the nginx.conf file.

    If you use the Multisite example it is better to use fastcgi_pass php instead of
    fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;. Because the php definition is defined at the main conf file and can be edited centrally. (If you would edit the central setting and do not edit also the setting in the wordpress.conf file then it would lead to problems.)

    The statistics feature works and the server resolves the podPress URL scheme on my server.

    If you are interested in my config files then I will post them of course. But these files are adjusted for an installation on a local Windows computer.


  3. Pothi Kalimuthu
    Posted 3 years ago #

    @leandroalonso As Tim said, it is likely to be an issue with your Nginx configuration. PodPress plugin works fine with Nginx (ref: http://awstest.tinywp.com/691-podpress-test/ ). I mostly follow the configuration from http://codex.wordpress.org/Nginx as well. Please try that for yourself. If that doesn't work, can you post your Nginx configuration to check what may be wrong with it? Please use pastebin or similar service, if you post the code of Nginx conf.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic