From 33888f0d305dcd3a286c12333503339f9f028710 Mon Sep 17 00:00:00 2001 From: gravel Date: Thu, 1 Jun 2023 17:58:54 +0000 Subject: [PATCH] Split NGINX config --- etc/nginx/lp.conf | 3 +++ etc/nginx/{common.conf => main.conf} | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 etc/nginx/lp.conf rename etc/nginx/{common.conf => main.conf} (74%) diff --git a/etc/nginx/lp.conf b/etc/nginx/lp.conf new file mode 100644 index 00000000..de0283da --- /dev/null +++ b/etc/nginx/lp.conf @@ -0,0 +1,3 @@ + location /listings/lp-output { + default_type application/json; + } diff --git a/etc/nginx/common.conf b/etc/nginx/main.conf similarity index 74% rename from etc/nginx/common.conf rename to etc/nginx/main.conf index 46658e06..184c9cb6 100644 --- a/etc/nginx/common.conf +++ b/etc/nginx/main.conf @@ -7,7 +7,4 @@ # this prevents us from tracking users across visits expires 60m; # add_header Cache-Control "max-age=3600"; - } - location /listings/lp-output { - default_type application/json; - } + } \ No newline at end of file