mirror of
https://github.com/certbot/certbot.git
synced 2026-04-04 16:46:29 -04:00
24 lines
535 B
Text
24 lines
535 B
Text
server {
|
|
listen 80;
|
|
server_name www.mydomain.com;
|
|
root /var/www/EECore1.6.7;
|
|
|
|
access_log /var/log/nginx/www.mydomain.com-access.log;
|
|
error_log /var/log/nginx/www.mydomain.com-error.log info;
|
|
|
|
location / {
|
|
index index.php;
|
|
try_files $uri $uri/ @ee;
|
|
}
|
|
|
|
location @ee {
|
|
rewrite ^(.*) /index.php?$1 last;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
include /etc/nginx/fastcgi_params;
|
|
fastcgi_pass 127.0.0.1:8888;
|
|
fastcgi_index index.php5;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
}
|
|
}
|