dotfiles/roles/nginx/templates/me.conf
Matej Focko d0fc1cd3d6
style: add Ansible-managed headers
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-15 16:50:11 +01:00

22 lines
359 B
Text

# {{ 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;
}
}