24 lines
555 B
Plaintext
24 lines
555 B
Plaintext
server {
|
|
server_name stagingadmin.dot-dot.ru;
|
|
listen 443 ssl;
|
|
|
|
ssl_certificate /etc/nginx/ssl/dot2024.crt;
|
|
ssl_certificate_key /etc/nginx/ssl/dot2024.key;
|
|
|
|
|
|
index index.php index.html index.htm;
|
|
root /application/public;
|
|
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php?$args;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
|
fastcgi_pass localhost:9000;
|
|
try_files $uri =404;
|
|
fastcgi_index index.php;
|
|
}
|
|
} |