recipes/infra/scripts/nginx/basic_serverblock.txt

16 lines
282 B
Text
Raw Permalink Normal View History

2024-03-13 09:09:02 +00:00
server {
listen 80;
listen [::]:80;
root /var/www/your_domain/html;
index index.html index.htm index.nginx-debian.html;
server_name your_domain www.your_domain;
location / {
try_files $uri $uri/ =404;
}
}