fix nginx
This commit is contained in:
parent
412514eff3
commit
6103c6c272
1 changed files with 0 additions and 15 deletions
|
@ -4,7 +4,6 @@ worker_processes 1;
|
||||||
working_directory {{.chezmoi.homeDir}}/.config/nginx;
|
working_directory {{.chezmoi.homeDir}}/.config/nginx;
|
||||||
error_log stderr info;
|
error_log stderr info;
|
||||||
daemon off;
|
daemon off;
|
||||||
load_module /usr/lib/nginx/modules/ngx_http_echo_module.so;
|
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
|
@ -146,13 +145,6 @@ http {
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
location /echo {
|
|
||||||
add_header "Content-Type" "text/plain";
|
|
||||||
echo "ahoj";
|
|
||||||
echo_flush;
|
|
||||||
return 200;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /favicon.ico {
|
location /favicon.ico {
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
@ -257,13 +249,6 @@ http {
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
location /echo {
|
|
||||||
add_header "Content-Type" "text/plain";
|
|
||||||
echo "ahoj";
|
|
||||||
echo_flush;
|
|
||||||
return 200;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /favicon.ico {
|
location /favicon.ico {
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|
Loading…
Add table
Reference in a new issue