mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:05:31 +02:00
26 lines
655 B
Plaintext
26 lines
655 B
Plaintext
server {
|
|
listen 80;
|
|
root /home/admin/random19651_log/;
|
|
server_name random16339.example.org;
|
|
|
|
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
|
location ~ \.php$ {
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
# NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
|
|
|
|
# With php5-fpm:
|
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
}
|
|
|
|
# deny access to .htaccess files, if Apache's document root
|
|
# concurs with nginx's one
|
|
location ~ /\.ht {
|
|
deny all;
|
|
}
|
|
|
|
access_log /var/log/nginx/random4235/access.log combined_plus;
|
|
error_log /var/log/nginx/random4235/error.log;
|
|
}
|