Add new Nginx config to base image (#918)
authorBianca Nenciu <nbianca@users.noreply.github.com>
Wed, 22 Jan 2025 18:13:17 +0000 (20:13 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2025 18:13:17 +0000 (20:13 +0200)
commit32dc866c85682cffdf9a6ec2eb69cd91a175e120
tree7e2cddf678662fabb38159a0239effe46fc4e226
parent0c7d085b386f2a0dbbd77af268dfdc2d7b3bec05
Add new Nginx config to base image (#918)

This commit moves the Nginx config from discourse/discourse repository
and updates it with several 'include' statements that serve as extension
outlets.

This change was made to place the config closer to where it is used and
implements an alternative to the "find & replace" hacks.

It is unused at this moment, but all templates and samples will be
updated in a future commit.
image/base/etc/nginx/conf.d/discourse.conf [new file with mode: 0644]
image/base/etc/nginx/conf.d/outlets/before-server/.gitkeep [new file with mode: 0644]
image/base/etc/nginx/conf.d/outlets/discourse/.gitkeep [new file with mode: 0644]
image/base/etc/nginx/conf.d/outlets/server/.gitkeep [new file with mode: 0644]
image/base/etc/nginx/conf.d/outlets/server/http.conf [new file with mode: 0644]