This commit is contained in:
2023-01-08 00:03:18 +08:00
parent d1982e7cf3
commit bb1cad5711
3 changed files with 10 additions and 16 deletions
+1 -8
View File
@@ -1,4 +1,3 @@
# put into /usr/local/etc/openresty/nginx.conf
#user nobody;
worker_processes 1;
@@ -9,16 +8,14 @@ error_log /usr/local/etc/openresty/logs/error.log debug;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
resolver 8.8.8.8 ipv6=off;
resolver 8.8.8.8 ipv6=off;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
@@ -85,7 +82,6 @@ http {
include /usr/local/etc/openresty/conf.d/*.conf;
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
@@ -99,7 +95,6 @@ http {
# }
#}
# HTTPS server
#
#server {
@@ -120,6 +115,4 @@ http {
# index index.html index.htm;
# }
#}
}