Made refactoring for notes app (and other)
This commit is contained in:
Makefile
ansible
configuration.yml
roles
blocks
owner
php-app
ssl-certificate
static-site
homepage
meta
notes
s2photo
meta
symfony-app
15
ansible/roles/blocks/static-site/templates/site.conf.j2
Executable file
15
ansible/roles/blocks/static-site/templates/site.conf.j2
Executable file
@@ -0,0 +1,15 @@
|
||||
server {
|
||||
server_name www.{{ static_site_domain }};
|
||||
return 301 $scheme://{{ static_site_domain }}$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name {{ static_site_domain }};
|
||||
|
||||
location / {
|
||||
root {{ static_site_web_root }};
|
||||
index index.html;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user