mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-17 09:45:34 +00:00
Update nginx.conf
This commit is contained in:
parent
e6d095bd72
commit
744bc2669d
@ -1,16 +1,8 @@
|
|||||||
events {
|
server {
|
||||||
worker_connections 1024;
|
listen 80;
|
||||||
}
|
server_name example.com;
|
||||||
|
|
||||||
http {
|
location / {
|
||||||
include /etc/nginx/waf_rules/*.conf; # Include WAF rules
|
return 200 "Hello, World!";
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name example.com;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
return 200 "Hello, World!";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user