Add nginx config file and support for outlets (#871)
authorBianca Nenciu <nbianca@users.noreply.github.com>
Tue, 14 Jan 2025 15:56:45 +0000 (17:56 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2025 15:56:45 +0000 (17:56 +0200)
commit01cbf07622c45106109e6339c8a65e957b6fed5d
treea72d34e582acad08818c8880b9a0fa0fce70208c
parent4f56ee9f72ab68f2ad8c44cc6f2fc1dff6673849
Add nginx config file and support for outlets (#871)

The nginx config file used to be copied from the discourse/discourse
repository, but it has been now moved in this project, closer to the
place where it is used.

The config has several 'include' statements that implement support for
outlets that templates can then use to extend the default configuration
for various features. This is an alternative to the "find & replace"
hacks.
15 files changed:
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]
samples/standalone.yml
samples/web_only.yml
templates/offline-page.template.yml
templates/sshd.template.yml
templates/web.ipv6.template.yml
templates/web.letsencrypt.ssl.template.yml
templates/web.ratelimited.template.yml
templates/web.socketed.template.yml
templates/web.ssl.template.yml
templates/web.template.yml