This part was, simply put, a hot mess.
It turns out that I don't really understand how configuration files in Nginx work. Sure I know how they're generally structured. Yeah I know that there are directives. Of course I know that there are locations. That being said, when I was configuring an Nginx server in the past I guess all I was really doing was just copying functional configuration files from one server to another.
I have literally 400 lines in my command history on my http server that are just repetition of something like six different sets of characters.
Even now when the server is properly working I can't really describe what it's doing. Requests are coming in and ending up in the right place? It seems like there's more to it than that.
I'm happy to report though that the two new path configuration values are being properly added to the request that's passed along to php-fpm.
I definitely want to spend more time in the future messing around with Nginx configuration files so that I end up in a state where I'm actually writing configurations to achieve a specific end, rather than just munging directives until I get something that works. That's going to have to wait though because I so very much want to start working on the client application.
No comments:
Post a Comment