Help!! Custom PHP site with Nginx (website) Plugin

  • Hi,


    I have custom PHP web server app which is serve comics(zipped). Originally that is based on Apache, and someone modified for Nginx server. However, with modified configuration for Nginx server I have no idea how to apply to OMV's Nginx plugin configuration.


    Program source : https://github.com/song31/comix-server/archive/master.tar.gz


    Modified Configuration
    ====================


    http{} at nginx.conf
    -------------------------
    server {
    listen 31257;
    server_name servername;
    charset UTF-8;
    root path_for_root_document;
    location / {
    autoindex on;
    index index.php;
    }
    location ~ \.php$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
    }
    location ~ ^/Comic(.*)$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_param SCRIPT_FILENAME /media/uuid/Comics/handler.php;
    include fastcgi_params;
    }
    }
    ------------------------------


    Many Thanks,
    woomg

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!