Skip to content

NginX config #6

Description

@bertalanimre

Hey!

So I'm using CentOS with NginX and honestly I would like to stick to it. Any solution what is the proper NginX setup? I'm trying with the following in the location tag, but I keep getting HTTP 405 Method not allowed:

location /tinydb {
                location ~ \.php$ {
                        fastcgi_pass unix:/var/run/php-fpm/myphp.sock;
                        fastcgi_split_path_info ^(.+\.php)(/.*)$;
                        include fastcgi_params;
                        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                }
        }

Please, post an example NginX config, that I could use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions