DEV: Add config outlets in Nginx config
This commit is contained in:
parent
9afc9a6e28
commit
152c89855a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue