Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NginX config #6

Open
bertalanimre opened this issue Jul 14, 2020 · 0 comments
Open

NginX config #6

bertalanimre opened this issue Jul 14, 2020 · 0 comments

Comments

@bertalanimre
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant