mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
16 lines
427 B
Nginx Configuration File
16 lines
427 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name www.example.com;
|
|
root /var/www/www.example.com/myapplication;
|
|
index index.html index.htm index.php;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php$is_args$args;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_pass unix:/usr/local/zend/tmp/php-fastcgi.socket;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
include fastcgi_params;
|
|
}
|
|
}
|