Silvan Calarco
0ba086218d
and fix missing .conf extension in sites-available/default [release 1.27.1-2mamba;Mon Sep 30 2024]
66 lines
1.4 KiB
Diff
66 lines
1.4 KiB
Diff
--- nginx-1.27.1/conf/nginx.conf.orig 2024-09-30 16:49:15.157424362 +0200
|
|
+++ nginx-1.27.1/conf/nginx.conf 2024-09-30 16:50:33.939591668 +0200
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#pid logs/nginx.pid;
|
|
|
|
+include modules-enabled/*.conf;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
@@ -32,27 +33,27 @@
|
|
|
|
#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
|
|
#
|
|
@@ -76,7 +77,7 @@
|
|
#location ~ /\.ht {
|
|
# deny all;
|
|
#}
|
|
- }
|
|
+ #}
|
|
|
|
|
|
# another virtual host using mix of IP-, name-, and port-based configuration
|
|
@@ -114,4 +115,6 @@
|
|
# }
|
|
#}
|
|
|
|
+ include sites-enabled/*;
|
|
+
|
|
}
|