From baa8000522035f3a06f0e4736b9f239efa904746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Fri, 26 Jul 2024 17:06:25 +0200 Subject: [PATCH] Remove /images rule and change server_name --- nginx/default.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nginx/default.conf b/nginx/default.conf index 9647afc..ecad836 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -1,13 +1,9 @@ server { listen 80; - server_name localhost; + server_name racemash.maciejpedzi.ch; root /usr/share/nginx/html; index index.html index.htm; - location /images { - root /usr/share/nginx/html/images; - } - location / { try_files $uri $uri/ /index.html; }