Add configuration for primary vds
This commit is contained in:
15
ansible/roles/site-anwinged/templates/site.conf.j2
Executable file
15
ansible/roles/site-anwinged/templates/site.conf.j2
Executable file
@@ -0,0 +1,15 @@
|
||||
server {
|
||||
server_name www.anwinged.ru;
|
||||
return 301 $scheme://anwinged.ru$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name anwinged.ru;
|
||||
|
||||
location / {
|
||||
root /var/www/anwinged/current;
|
||||
index index.html;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user