2024-11-15 16:50:11 +01:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2024-07-12 15:00:55 +02:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|