dotfiles/roles/nginx/templates/me.conf

23 lines
359 B
Text
Raw Normal View History

# {{ ansible_managed }}
server {
include ssl.conf;
include fastcgi.conf;
server_name me.{{ host_fqdn }};
root /home/{{ target_user }}/public_html;
index index.html index.htm;
autoindex on;
error_page 404 /404.html;
location = /40x.html {}
error_page 500 502 503 504 /50x.html;
location = /50x.html {}
location ~ /\.git {
return 404;
}
}