added nginx role

This commit is contained in:
2024-12-04 15:38:14 +01:00
parent 996b0ce4ee
commit 9bbf0a37c0
10 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
server {
listen 80 ;
listen [::]:80 ;
server_name {{ domain_name }} ;
root /var/www/{{ nginx_root }} ;
index index.html index.htm index.nginx-debian.html ;
location / {
try_files $uri $uri/ =404 ;
}
}