diff --git a/nginx.conf b/nginx.conf index df26204..f85ccb5 100644 --- a/nginx.conf +++ b/nginx.conf @@ -75,4 +75,9 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; } + + # Routes owned by other apps on this host, one file each, installed by that app's own deploy. + # They live outside this file so that setup-pi.sh, which copies this file over the Pi's, + # can never wipe them. A glob that matches nothing is fine. + include /etc/nginx/app-routes/*.conf; } \ No newline at end of file