Ivan Robertovich

Q: web apps in Server 5 - any good documentation?

I really like the new proxy pass architecture in Server 5.   I ESPECIALLY love it that Server 5.1 finally added TLS 1.2 and realistic cipher suites.  Among other things, Apple news and iTunes will actually talk to mac server again (previsouly, Server failed to provide encryption strong enough for Apple's own bots).

 

I'd like to figure out web apps better.  These little plist files are the keys to the kingdom as far as I am concerned because they appear to permit things such as putting varnish in front of website (but not others) by merely clicking a checkbox in the Server app.

 

I'm not sure how to go about doing it though!  I don't have shell script foo strong enough to understand how server app even does the things it does (such as commenting and uncommenting single lines in the httpd.conf) by merely running a script.

 

On the other end, I'm not even really sure how to make the web app work.  For instance, I have a running instance of php-fpm, I have tested it and it works well.  I can start/stop it with launchctl.   How can I set up a webapp that intercepts php at the proxy and directs those to php-fpm (not the backend apache)?   I can see form some of the other web apps that they can start the service and alter the htacess /conf for the virtual server but I can't figure it out.

 

Has anyone seen good documentation or better examples and walkthroughs out there?

Mac mini, OS X Mavericks (10.9.5), i7 server

Posted on May 12, 2016 12:22 PM