vouch-proxy/examples/nginx/multi-file
Benjamin Foote e553b21b5e fix #408 add semicolons to auth_request_set 2021-08-07 00:11:24 -07:00
..
conf.d fix #408 add semicolons to auth_request_set 2021-08-07 00:11:24 -07:00
README.md Add individual examples. 2019-07-31 16:46:07 +04:00
nginx.conf Add individual examples. 2019-07-31 16:46:07 +04:00

README.md

Nginx Multi-File Configuration Example

Nginx can be configured to include conf files, allowing you to properly organize nginx configurations into individual apps. This keeps configurations cleaner and easier to manage.

File Description
nginx.conf Only the generic nginx config without any 'server' fields. It includes anything at conf.d/*.conf
conf.d/app1.yourdomain.com.conf Configuration for an authenticated application at https://app1.yourdomain.com
conf.d/app2.yourdomain.com.conf Configuration for an authenticated application at https://app2.yourdomain.com. This file can be duplicated for every application you'd like to deploy.
conf.d/unauthenticated_app3.yourdomain.com.conf A simple configuration for an unauthenticated application or page. This could be a terms of service, license, or generic help page. It could also be some application or API endpoint that you simply don't want to authenticate.
conf.d/vouch.yourdomain.com.conf Configuration for exposing vouch at the proxy using https to a vouch instance on localhost. This configuration supports secure cookies.