1
0
Fork 0

fix nginx

This commit is contained in:
Vladimír Dudr 2022-05-06 16:11:17 +02:00
parent 412514eff3
commit 6103c6c272

View file

@ -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;