logs con variable

pro/0.0.1
fanta 4 years ago
parent c15767a81a
commit 998ce449c1

@ -6,7 +6,10 @@ upstream php {
server { server {
server_name domain.tld; server_name domain.tld;
root /var/www/wordpress; root /var/www/wordpress;
index index.php; index index.php index.html;
access_log /var/log/nginx/"$server_name"-access.log;
error_log /var/log/nginx/"$server_name"-error.log;
location = /favicon.ico { location = /favicon.ico {
log_not_found off; log_not_found off;

Loading…
Cancel
Save