Giter VIP home page Giter VIP logo

Comments (3)

veroarts avatar veroarts commented on July 3, 2024

I actually just changed the location of the php block inside my nginx config and all is well.

location ~ \.php$ {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    include fastcgi.conf;
    fastcgi_param DOCUMENT_ROOT /{{ domain }}/public;
    fastcgi_param SCRIPT_FILENAME /{{ domain }}/public$fastcgi_script_name;
    fastcgi_param APPENV {{ app_env }};
}

Thanks for making all this stuff available! It's been extremely helpful while learning Ansible.

ps:
I love the Chrooting PHP stuff.

from ansible-nginx.

fideloper avatar fideloper commented on July 3, 2024

Hey! I didn't know anyone was paying attention to these :D

These are slowly getting more specific for my use case (for better of
worse) - and I e been hacking away at them this weekend. The Ansible-php
repository here will go in conjunction with it. Note that it does some
pretty specific things for chroot (when I push it up :D), now including
ensuring the /Dev/random stuff is available, and some files related to
timezone settings

(Chroot is turning out to be a major PITA, but when it comes together,
it'll be pretty nice!)

I push up the php stuff shortly as well. I have a PostgreSQL Ansible role
to publish too...

Glad it's been useful!
On Sat, Feb 21, 2015 at 19:39 veroarts [email protected] wrote:

Closed #1 #1.


Reply to this email directly or view it on GitHub
#1 (comment)
.

from ansible-nginx.

fideloper avatar fideloper commented on July 3, 2024

Sorry for the terrible English, typing on ios is the worst :P
On Sat, Feb 21, 2015 at 20:29 Chris Fidao [email protected] wrote:

Hey! I didn't know anyone was paying attention to these :D

These are slowly getting more specific for my use case (for better of
worse) - and I e been hacking away at them this weekend. The Ansible-php
repository here will go in conjunction with it. Note that it does some
pretty specific things for chroot (when I push it up :D), now including
ensuring the /Dev/random stuff is available, and some files related to
timezone settings

(Chroot is turning out to be a major PITA, but when it comes together,
it'll be pretty nice!)

I push up the php stuff shortly as well. I have a PostgreSQL Ansible role
to publish too...

Glad it's been useful!
On Sat, Feb 21, 2015 at 19:39 veroarts [email protected] wrote:

Closed #1 #1
.


Reply to this email directly or view it on GitHub
#1 (comment)
.

from ansible-nginx.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.