dotfiles/roles/server/nginx/templates/me.conf
Matej Focko 1380efe400
feat(server/nginx): implement nginx role
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 15:00:55 +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;
}
}