dotfiles/roles/nginx/templates/me.conf
Matej Focko c7293cd6ea
chore: move out the server roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 21:15:31 +02:00

20 lines
334 B
Text

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