added nginx role
This commit is contained in:
10
roles/nginx/templates/nginx-config.j2
Normal file
10
roles/nginx/templates/nginx-config.j2
Normal 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 ;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user