20 lines
No EOL
446 B
Text
20 lines
No EOL
446 B
Text
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name domain.com www.domain.com;
|
|
|
|
access_log /var/log/nginx/domain.com.access.log we_log;
|
|
error_log /var/log/nginx/domain.com.error.log;
|
|
|
|
root /var/www/domain.com/htdocs;
|
|
|
|
index index.php index.html index.htm;
|
|
|
|
include common/php.conf;
|
|
include common/locations.conf;
|
|
include common/headers-http.conf;
|
|
include common/headers-html.conf;
|
|
#include /var/www/domain.com/conf/nginx/*.conf;
|
|
} |