27 lines
573 B
Plaintext
27 lines
573 B
Plaintext
![]() |
server {
|
||
|
listen 777 ssl;
|
||
|
server_name root-kit.ru;
|
||
|
|
||
|
ssl_certificate /usr/local/etc/letsencrypt/live/root-kit.ru/fullchain.pem;
|
||
|
ssl_certificate_key /usr/local/etc/letsencrypt/live/root-kit.ru/privkey.pem;
|
||
|
|
||
|
root /usr/local/www/postfixadmin/public;
|
||
|
|
||
|
index index.php index.html index.htm;
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ /index.php?$query_string;
|
||
|
}
|
||
|
|
||
|
location ~ \.php$ {
|
||
|
include fastcgi_params;
|
||
|
fastcgi_pass 127.0.0.1:9000;
|
||
|
fastcgi_index index.php;
|
||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||
|
}
|
||
|
|
||
|
location ~ /\.ht {
|
||
|
deny all;
|
||
|
}
|
||
|
}
|