From d7b08d09b01f5d7afe8a1ce64fc3bc879b62076d Mon Sep 17 00:00:00 2001 From: MoonTestUse1 Date: Wed, 25 Dec 2024 03:38:58 +0600 Subject: [PATCH] Merge remote changes and resolve conflicts --- docker-compose.yml | 2 -- docker/nginx/conf.d/default.conf | 10 ++++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ad49ab8..882a663 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,6 @@ services: volumes: - ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro - ./docker/nginx/conf.d:/etc/nginx/conf.d:ro - - webroot:/var/www/html depends_on: - backend @@ -31,4 +30,3 @@ services: volumes: sqlite_data: - webroot: diff --git a/docker/nginx/conf.d/default.conf b/docker/nginx/conf.d/default.conf index 48218e6..34491e9 100644 --- a/docker/nginx/conf.d/default.conf +++ b/docker/nginx/conf.d/default.conf @@ -3,15 +3,13 @@ server { listen [::]:80; server_name itformhelp.ru www.itformhelp.ru; - location /.well-known/acme-challenge/ { - allow all; - root /var/www/html; - } + root /usr/share/nginx/html; + index index.html; location / { - root /usr/share/nginx/html; - index index.html; try_files $uri $uri/ /index.html; + expires -1; + add_header Cache-Control "no-store, no-cache, must-revalidate"; } location /api/ {