nginx/nginx-1.22.0-sites-modules-enabled.patch

71 lines
1.5 KiB
Diff

--- nginx-1.22.0/conf/nginx.conf.orig 2022-06-10 11:56:30.002319632 +0200
+++ nginx-1.22.0/conf/nginx.conf 2022-06-10 11:57:15.722089156 +0200
@@ -8,6 +8,7 @@
#pid logs/nginx.pid;
+include modules-enabled/*.conf;
events {
worker_connections 1024;
@@ -32,28 +33,28 @@
#gzip on;
- server {
- listen 80;
- server_name localhost;
-
+ #server {
+ # listen 80;
+ # server_name localhost;
+ #
#charset koi8-r;
#access_log logs/host.access.log main;
-
- location / {
- root html;
- index index.html index.htm;
- }
-
+ #
+ # location / {
+ # root html;
+ # index index.html index.htm;
+ # }
+ #
#error_page 404 /404.html;
-
+ #
# redirect server error pages to the static page /50x.html
#
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root html;
- }
-
+ # error_page 500 502 503 504 /50x.html;
+ # location = /50x.html {
+ # root html;
+ # }
+ #
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
@@ -76,7 +77,7 @@
#location ~ /\.ht {
# deny all;
#}
- }
+ #}
# another virtual host using mix of IP-, name-, and port-based configuration
@@ -114,4 +115,5 @@
# }
#}
+ include sites-enabled/*;
}