DEV: Add config outlets in Nginx config

This commit is contained in:
Bianca Nenciu 2024-09-16 18:34:05 +03:00
parent 9afc9a6e28
commit 152c89855a
No known key found for this signature in database
GPG Key ID: 07E83B117A6B844D
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,8 @@ geo $bypass_cache {
::1 1; ::1 1;
} }
include conf.d/outlets/global.conf;
server { server {
access_log /var/log/nginx/access.log log_discourse; access_log /var/log/nginx/access.log log_discourse;
@ -87,6 +89,8 @@ server {
# use dates, it solves the problem fine even cross server # use dates, it solves the problem fine even cross server
etag off; etag off;
include conf.d/outlets/server.conf;
# prevent direct download of backups # prevent direct download of backups
location ^~ /backups/ { location ^~ /backups/ {
internal; internal;