From 6103c6c272b16c29e01488825a1e28799216109d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Dudr?= Date: Fri, 6 May 2022 16:11:17 +0200 Subject: [PATCH] fix nginx --- dot_config/nginx/nginx.conf.tmpl | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/dot_config/nginx/nginx.conf.tmpl b/dot_config/nginx/nginx.conf.tmpl index 2ef2c08..ca66a57 100644 --- a/dot_config/nginx/nginx.conf.tmpl +++ b/dot_config/nginx/nginx.conf.tmpl @@ -4,7 +4,6 @@ worker_processes 1; working_directory {{.chezmoi.homeDir}}/.config/nginx; error_log stderr info; daemon off; -load_module /usr/lib/nginx/modules/ngx_http_echo_module.so; events { worker_connections 1024; @@ -146,13 +145,6 @@ http { index index.php; - location /echo { - add_header "Content-Type" "text/plain"; - echo "ahoj"; - echo_flush; - return 200; - } - location /favicon.ico { log_not_found off; access_log off; @@ -257,13 +249,6 @@ http { index index.php; - location /echo { - add_header "Content-Type" "text/plain"; - echo "ahoj"; - echo_flush; - return 200; - } - location /favicon.ico { log_not_found off; access_log off;