This commit is contained in:
2025-03-21 15:27:15 +08:00
parent 133b32989c
commit 997d8a0ac9
3 changed files with 159 additions and 15 deletions

View File

@ -351,7 +351,7 @@ apt-get --purge remove nginx
###### nginx.conf
```
```nginx
worker_processes auto;
@ -415,19 +415,8 @@ http {
server_tokens off;
access_log off;
server {
listen 80;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
include /etc/nginx/site-enable/*.conf;
include /etc/nginx/site-enable/*.conf;
}
```